From: Denis V. Lunev Date: Fri, 29 Feb 2008 19:19:22 +0000 (-0800) Subject: [NETNS]: icmp(v6)_sk should not pin a namespace. X-Git-Tag: v2.6.26-rc1~1138^2~542 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c8cafd65e1448b1d55cad3fb1e42ad42607e5be;p=pandora-kernel.git [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 Acked-by: Daniel Lezcano Signed-off-by: David S. Miller --- Reading git-diff-tree failed