diff options
author | Denis V. Lunev <den@openvz.org> | 2008-02-29 20:19:22 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-29 20:19:22 +0100 |
commit | 5c8cafd65e1448b1d55cad3fb1e42ad42607e5be (patch) | |
tree | 42b7de16c3724a4f9e6d401313ef2c60da05aa71 /arch | |
parent | [NET]: Make netlink_kernel_release publically available as sk_release_kernel. (diff) | |
download | linux-5c8cafd65e1448b1d55cad3fb1e42ad42607e5be.tar.xz linux-5c8cafd65e1448b1d55cad3fb1e42ad42607e5be.zip |
[NETNS]: icmp(v6)_sk should not pin a namespace.
So, change icmp(v6)_sk creation/disposal to the scheme used in the
netlink for rtnl, i.e. create a socket in the context of the init_net
and assign the namespace without getting a referrence later.
Also use sk_release_kernel instead of sock_release to properly destroy
such sockets.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions