summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-11-17 06:45:04 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-18 13:43:58 -0800
commita5ad94d1e45df0cc29918fb5309ef85b99fc58c5 (patch)
tree61bd2dc8eb7f8991f43588a57ded82194d22c93c /arch
parent0d1bb4e684935fce3fc71bdeb6c1fc89af8e59bb (diff)
vlan: Fix register_vlan_dev() error path
[ Upstream commit 6b863d1d3239eff0f45c2e6e672f5b56db828db0 ] In case register_netdevice() returns an error, and a new vlan_group was allocated and inserted in vlan_group_hash[] we call vlan_group_free() without deleting group from hash table. Future lookups can give infinite loops or crashes. We must delete the vlan_group using RCU safe procedure. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions