[NETNS]: Memory leak on network namespace stop.
authorDenis V. Lunev <den@openvz.org>
Sat, 19 Jan 2008 07:54:15 +0000 (23:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:08:06 +0000 (15:08 -0800)
commit4f84d82f7a623f8641af2574425c329431ff158f
tree639acc6831d8d99d4ca4c2a5ec3c78831b41c084
parent869e58f87094b1e8a0df49232e4a5172678d46c9
[NETNS]: Memory leak on network namespace stop.

Network namespace allocates 2 kernel netlink sockets, fibnl &
rtnl. These sockets should be disposed properly, i.e. by
sock_release. Plain sock_put is not enough.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Tested-by: Alexey Dobriyan <adobriyan@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c
net/ipv4/fib_frontend.c