1
linux/net/8021q
Patrick McHardy af30151709 [VLAN]: Simplify vlan unregistration
Keep track of the number of VLAN devices in a vlan group. This allows
to have the caller sense when the group is going to be destroyed and
stop using it, which in turn allows to remove the wrapper around
unregister_vlan_dev for the NETDEV_UNREGISTER notifier and avoid
iterating over all possible VLAN ids whenever a device in unregistered.

Also fix what looks like a use-after-free (but is actually safe since
we're holding the RTNL), the real_dev reference should not be dropped
while we still use it.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-01-28 15:08:31 -08: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]: Clean up debugging and printks 2008-01-28 15:08:28 -08:00
vlan_netlink.c [VLAN]: Simplify vlan unregistration 2008-01-28 15:08:31 -08:00
vlan.c [VLAN]: Simplify vlan unregistration 2008-01-28 15:08:31 -08:00
vlan.h [VLAN]: Simplify vlan unregistration 2008-01-28 15:08:31 -08:00
vlanproc.c [VLAN]: Clean up initialization code 2008-01-28 15:08:30 -08:00
vlanproc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00