Thread (2 messages) flat view 2 messages, 2 authors, 2012-08-08

Re: [PATCH] pptp: lookup route with the proper net namespace

From: David Miller <davem@davemloft.net>
Date: 2012-08-08 22:57:21

From: Gao feng <redacted>
Date: Tue, 7 Aug 2012 18:23:11 +0800
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 <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help