summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/tlb.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-01-21 09:25:50 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-29 00:08:31 +0100
commitaf30151709bcace1ca844d4bb8b7e2e392ff81eb (patch)
tree5da346ea833fe8097359613463cd716613359215 /include/asm-x86/tlb.h
parent[VLAN]: Clean up unregister_vlan_dev (diff)
downloadlinux-af30151709bcace1ca844d4bb8b7e2e392ff81eb.tar.xz
linux-af30151709bcace1ca844d4bb8b7e2e392ff81eb.zip
[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>
Diffstat (limited to 'include/asm-x86/tlb.h')
0 files changed, 0 insertions, 0 deletions