android_kernel_motorola_sm6225/net/8021q
Patrick McHardy 0ed21b321a [VLAN]: Don't copy ALLMULTI/PROMISC flags from underlying device
Changing these flags requires to use dev_set_allmulti/dev_set_promiscuity
or dev_change_flags. Setting it directly causes two unwanted effects:

- the next dev_change_flags call will notice a difference between
  dev->gflags and the actual flags, enable promisc/allmulti
  mode and incorrectly update dev->gflags

- this keeps the underlying device in promisc/allmulti mode until
  the VLAN device is deleted

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-03-26 00:15:17 -07:00
..
Kconfig [NET]: move config options out to individual protocols 2005-07-11 21:13:56 -07:00
Makefile [VLAN]: Use rtnl_link API 2007-07-10 22:15:03 -07:00
vlan.c [VLAN]: Update list address 2008-01-28 15:08:34 -08:00
vlan.h [VLAN]: checkpatch cleanups 2008-01-28 15:08:33 -08:00
vlan_dev.c [VLAN]: Don't copy ALLMULTI/PROMISC flags from underlying device 2008-03-26 00:15:17 -07:00
vlan_netlink.c [VLAN]: Turn VLAN_DEV_INFO into inline function 2008-01-28 15:08:32 -08:00
vlanproc.c [8021Q]: Use proc_create() to setup ->proc_fops first 2008-02-28 14:14:58 -08:00
vlanproc.h [VLAN]: checkpatch cleanups 2008-01-28 15:08:33 -08:00