diff options
author | Shmulik Ladkani <shmulik.ladkani@gmail.com> | 2016-05-26 20:16:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-30 00:03:53 -0700 |
commit | 0e6b5259824e97a0f7e7b450421ff12865d3b0e2 (patch) | |
tree | 58e073d906dd71972348cdcbc80c5a3037eb886b /kernel/time | |
parent | 176b346b37f0b9c03e91eb6f1460e00f3c0c3edf (diff) | |
download | blackbird-op-linux-0e6b5259824e97a0f7e7b450421ff12865d3b0e2.tar.gz blackbird-op-linux-0e6b5259824e97a0f7e7b450421ff12865d3b0e2.zip |
net: l2tp: Make l2tp_ip6 namespace aware
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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/time')
0 files changed, 0 insertions, 0 deletions