diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2012-08-07 00:23:11 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-02 10:29:35 -0700 |
commit | a348ed02b367a8a8307444724db5c8e96c90ac78 (patch) | |
tree | 32ebdd8122276f761bbb80b3bebc7975b3fad32c /net/unix/af_unix.c | |
parent | bc3f72433351e278a92a38c2090aacff982ce558 (diff) |
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions