diff options
author | Ying Xue <ying.xue@windriver.com> | 2015-03-16 11:19:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-16 21:25:06 +0100 |
commit | c243d7e20996254f89c28d4838b5feca735c030d (patch) | |
tree | 13ce4c9af9215945e69a86300039396bfb1f04cd /drivers/net/ethernet/freescale | |
parent | rhashtable: Annotate RCU locking of walkers (diff) | |
download | linux-c243d7e20996254f89c28d4838b5feca735c030d.tar.xz linux-c243d7e20996254f89c28d4838b5feca735c030d.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/freescale')
0 files changed, 0 insertions, 0 deletions