Ying Xue c243d7e209 net: kernel socket should be released in init_net namespace
Creating a kernel socket with sock_create_kern() happens in "init_net"
namespace, however, releasing it with sk_release_kernel() occurs in
the current namespace which may be different with "init_net" namespace.
Therefore, we should guarantee that the namespace in which a kernel
socket is created is same as the socket is created.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-16 16:25:06 -04:00
..
2014-12-09 16:29:11 -05:00
2015-03-12 14:39:40 -04:00
2015-03-12 14:39:40 -04:00
2015-03-12 14:39:40 -04:00
2015-03-12 14:39:40 -04:00
2015-03-11 21:55:28 -04:00