From: Gao feng Date: Tue, 7 Aug 2012 00:23:11 +0000 (+0000) Subject: pptp: lookup route with the proper net namespace X-Git-Tag: v3.2.30~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f37c3bd4cded42d856f5f9d40a830bfefa57b58;p=pandora-kernel.git pptp: lookup route with the proper net namespace [ Upstream commit 08252b32311c3fa84219ad794d640af7399b5485 ] pptp always use init_net as the net namespace to lookup route, this will cause route lookup failed in container. because we already set the correct net namespace to struct sock in pptp_create,so fix this by using sock_net(sk) to replace &init_net. Signed-off-by: Gao feng Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed