From: Tom Parkin Date: Thu, 31 Jan 2013 23:43:03 +0000 (+0000) Subject: l2tp: create tunnel sockets in the right namespace X-Git-Tag: v3.9-rc1~139^2~161 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=167eb17e0b178549f5e19036b16b6d6e35856b67;p=pandora-kernel.git l2tp: create tunnel sockets in the right namespace When creating unmanaged tunnel sockets we should honour the network namespace passed to l2tp_tunnel_create. Furthermore, unmanaged tunnel sockets should not hold a reference to the network namespace lest they accidentally keep alive a namespace which should otherwise have been released. Unmanaged tunnel sockets now drop their namespace reference via sk_change_net, and are released in a new pernet exit callback, l2tp_exit_net. Signed-off-by: Tom Parkin Signed-off-by: James Chapman Signed-off-by: David S. Miller --- Reading git-diff-tree failed