android_kernel_xiaomi_sm8350/net/8021q
Eric Dumazet 6b863d1d32 vlan: Fix register_vlan_dev() error path
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>
2009-11-17 06:45:04 -08:00
..
Kconfig
Makefile
vlan_core.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-04-16 17:35:26 -07:00
vlan_dev.c vlan: adds drops accounting 2009-09-03 20:02:17 -07:00
vlan_gvrp.c
vlan_netlink.c net: fix vlan_get_size to include vlan_flags size 2009-09-26 20:16:07 -07:00
vlan.c vlan: Fix register_vlan_dev() error path 2009-11-17 06:45:04 -08:00
vlan.h
vlanproc.c net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
vlanproc.h