[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120808.155720.117832615962583285.davem@davemloft.net>
Date: Wed, 08 Aug 2012 15:57:20 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gaofeng@...fujitsu.com
Cc: xeb@...l.ru, netdev@...r.kernel.org
Subject: Re: [PATCH] pptp: lookup route with the proper net namespace
From: Gao feng <gaofeng@...fujitsu.com>
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 <gaofeng@...fujitsu.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists