[Devel] Re: [PATCH][VLAN]: Fix egress priority mappings leak.

David Miller davem at davemloft.net
Fri Apr 4 12:45:50 PDT 2008


From: Patrick McHardy <kaber at trash.net>
Date: Fri, 04 Apr 2008 11:45:58 +0200

> 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>

Applied, thanks a lot.




More information about the Devel mailing list