[Devel] Re: [PATCH][VLAN]: Fix egress priority mappings leak.
Patrick McHardy
kaber at trash.net
Fri Apr 4 02:45:58 PDT 2008
Pavel Emelyanov wrote:
> 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 at openvz.org>
Good catch, thanks.
Acked-by: Patrick McHardy <kaber at trash.net>
More information about the Devel
mailing list