ipv4: take rtnl_lock and mark mrt table as freed on namespace cleanup
authorWANG Cong <xiyou.wangcong@gmail.com>
Tue, 31 Mar 2015 18:01:45 +0000 (11:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Apr 2015 00:52:34 +0000 (20:52 -0400)
commited785309c94445dd90e242370e1f7bb034e008fd
treed00f8ddb893ba83f8a9138e5dc7ab335525e866d
parent666b805150efd62f05810ff0db08f44a2370c937
ipv4: take rtnl_lock and mark mrt table as freed on namespace cleanup

This is the IPv4 part for commit 905a6f96a1b1
(ipv6: take rtnl_lock and mark mrt6 table as freed on namespace cleanup).

Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipmr.c