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 <[EMAIL PROTECTED]>

Good catch, thanks.

Acked-by: Patrick McHardy <[EMAIL PROTECTED]>

_______________________________________________
Devel mailing list
Devel@openvz.org
https://openvz.org/mailman/listinfo/devel

Reply via email to