]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV6]: Fix memory leak in cleanup_ipv6_mibs()
authorPavel Emelyanov <xemul@openvz.org>
Thu, 18 Oct 2007 02:30:40 +0000 (19:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2007 02:30:40 +0000 (19:30 -0700)
commit5c5b4ff4993198e7dfb3276f43d17fc4d3b72539
treefd5fa85ec9c799d179a747563031a2869664389b
parent561095050fca4d6a9b9dd6528ccaf0fbc05b5966
[IPV6]: Fix memory leak in cleanup_ipv6_mibs()

The icmpv6msg mib statistics is not freed.

This is almost not critical for current kernel, since ipv6
module is unloadable, but this can happen on load error and
will happen every time we stop the network namespace (when
we have one, of course).

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: David L Stevens <dlstevens@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/af_inet6.c