git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d933d2b
)
pptp: lookup route with the proper net namespace
author
Gao feng
<gaofeng@cn.fujitsu.com>
Tue, 7 Aug 2012 00:23:11 +0000
(
00:23
+0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 8 Aug 2012 22:57:10 +0000
(15:57 -0700)
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>
No differences found