aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorGao feng <gaofeng@cn.fujitsu.com>2012-08-07 00:23:11 +0000
committerBen Hutchings <ben@decadent.org.uk>2012-09-19 15:04:48 +0100
commit3f37c3bd4cded42d856f5f9d40a830bfefa57b58 (patch)
tree59bf96b35dbd86c92820b5ae81ef5434a804abd1 /net/core/dev.c
parent748b6a42291b23c24ed21f93598189c25d7ae513 (diff)
downloadkernel_samsung_smdk4412-3f37c3bd4cded42d856f5f9d40a830bfefa57b58.zip
kernel_samsung_smdk4412-3f37c3bd4cded42d856f5f9d40a830bfefa57b58.tar.gz
kernel_samsung_smdk4412-3f37c3bd4cded42d856f5f9d40a830bfefa57b58.tar.bz2
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 <gaofeng@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions