WSL2-Linux-Kernel/net/8021q
Pavel Emelyanov 23556323b2 [VLAN]: Fix egress priority mappings leak.
These entries are allocated in vlan_dev_set_egress_priority, 
but are never released and leaks on vlan device removal.

Drop these in vlan's ->uninit callback - after the device is 
brought down and everyone is notified about it is going to
be unregistered.

Found during testing vlan netnsization patchset.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-04-04 12:45:12 -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.c [VLAN]: Proc entry is not renamed when vlan device name changes. 2008-04-02 00:08:01 -07:00
vlan.h [VLAN]: Proc entry is not renamed when vlan device name changes. 2008-04-02 00:08:01 -07:00
vlan_dev.c [VLAN]: Fix egress priority mappings leak. 2008-04-04 12:45:12 -07:00
vlan_netlink.c [VLAN]: Turn VLAN_DEV_INFO into inline function 2008-01-28 15:08:32 -08:00
vlanproc.c [VLAN]: Proc entry is not renamed when vlan device name changes. 2008-04-02 00:08:01 -07:00
vlanproc.h [VLAN]: checkpatch cleanups 2008-01-28 15:08:33 -08:00