OpenVZ Forum


Home » Mailing lists » Devel » [PATCH][VLAN]: Fix egress priority mappings leak.
Re: [PATCH][VLAN]: Fix egress priority mappings leak. [message #29063 is a reply to message #29062] Fri, 04 April 2008 09:45 Go to previous messageGo to previous message
Patrick McHardy is currently offline  Patrick McHardy
Messages: 107
Registered: March 2006
Senior Member
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@openvz.org>

Good catch, thanks.

Acked-by: Patrick McHardy <kaber@trash.net>
 
Read Message
Read Message
Read Message
Previous Topic: [RFC][PATCH 1/4] Provide a new procfs interface to set next id
Next Topic: [PATCH 0/7][v2] Clone PTY namespaces
Goto Forum:
  


Current Time: Sun Aug 24 11:28:20 GMT 2025

Total time taken to generate the page: 0.05541 seconds