[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160530.000411.613218510439299331.davem@davemloft.net>
Date: Mon, 30 May 2016 00:04:11 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: shmulik.ladkani@...il.com
Cc: netdev@...r.kernel.org, hannes@...essinduktion.org,
celston@...alix.com, jchapman@...alix.com
Subject: Re: [PATCH] net: l2tp: Make l2tp_ip6 namespace aware
From: Shmulik Ladkani <shmulik.ladkani@...il.com>
Date: Thu, 26 May 2016 20:16:36 +0300
> l2tp_ip6 tunnel and session lookups were still using init_net, although
> the l2tp core infrastructure already supports lookups keyed by 'net'.
>
> As a result, l2tp_ip6_recv discarded packets for tunnels/sessions
> created in namespaces other than the init_net.
>
> Fix, by using dev_net(skb->dev) or sock_net(sk) where appropriate.
>
> Signed-off-by: Shmulik Ladkani <shmulik.ladkani@...il.com>
Applied.
Powered by blists - more mailing lists