diff options
author | Gao feng <[email protected]> | 2012-08-07 00:23:11 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2012-08-08 15:57:10 -0700 |
commit | 08252b32311c3fa84219ad794d640af7399b5485 (patch) | |
tree | 2198ed2425cdcdcd7d69a5c32f3de87419c26c1d /net/unix/garbage.c | |
parent | d933d2beb1e416f62bf56fe002e5451414f9a9d2 (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions