linux/net/8021q
Patrick McHardy 8c979c26a0 [VLAN]: Fix MAC address handling
The VLAN MAC address handling is broken in multiple ways. When the address
differs when setting it, the real device is put in promiscous mode twice,
but never taken out again. Additionally it doesn't resync when the real
device's address is changed and needlessly puts it in promiscous mode when
the vlan device is still down.

Fix by moving address handling to vlan_dev_open/vlan_dev_stop and properly
deal with address changes in the device notifier. Also switch to
dev_unicast_add (which needs the exact same handling).

Since the set_mac_address handler is identical to the generic ethernet one
with these changes, kill it and use ether_setup().

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-07-11 19:45:24 -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_dev.c [VLAN]: Fix MAC address handling 2007-07-11 19:45:24 -07:00
vlan_netlink.c [VLAN]: Use rtnl_link API 2007-07-10 22:15:03 -07:00
vlan.c [VLAN]: Fix MAC address handling 2007-07-11 19:45:24 -07:00
vlan.h [VLAN]: Fix MAC address handling 2007-07-11 19:45:24 -07:00
vlanproc.c [NET]: Make all initialized struct seq_operations const. 2007-07-10 23:07:31 -07:00
vlanproc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00