linux-stable-rt/net/8021q
Matthijs Kooijman deede2fabe vlan: Don't propagate flag changes on down interfaces.
When (de)configuring a vlan interface, the IFF_ALLMULTI ans IFF_PROMISC
flags are cleared or set on the underlying interface. So, if these flags
are changed on a vlan interface that is not up, the flags underlying
interface might be set or cleared twice.

Only propagating flag changes when a device is up makes sure this does
not happen. It also makes sure that an underlying device is not set to
promiscuous or allmulti mode for a vlan device that is down.

Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-11-01 17:51:03 -04:00
..
Kconfig
Makefile
vlan.c rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTER 2011-08-02 04:29:23 -07:00
vlan.h vlan: move vlan_group_[gs]et_device to public header 2011-07-21 13:47:58 -07:00
vlan_core.c vlan: allow nested vlan_do_receive() 2011-10-30 04:43:30 -04:00
vlan_dev.c vlan: Don't propagate flag changes on down interfaces. 2011-11-01 17:51:03 -04:00
vlan_gvrp.c
vlan_netlink.c
vlanproc.c
vlanproc.h