diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2012-08-07 02:23:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-09 00:57:10 +0200 |
commit | 08252b32311c3fa84219ad794d640af7399b5485 (patch) | |
tree | 2198ed2425cdcdcd7d69a5c32f3de87419c26c1d /net/ipv4 | |
parent | Merge branch 'fixes-for-3.6' of git://gitorious.org/linux-can/linux-can (diff) | |
download | linux-08252b32311c3fa84219ad794d640af7399b5485.tar.xz linux-08252b32311c3fa84219ad794d640af7399b5485.zip |
pptp: lookup route with the proper net namespace
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>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions