]> www.infradead.org Git - users/jedix/linux-maple.git/commit
l2tp: move l2tp_ip and l2tp_ip6 data to pernet
authorJames Chapman <jchapman@katalix.com>
Wed, 7 Aug 2024 06:54:46 +0000 (07:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Aug 2024 03:38:49 +0000 (04:38 +0100)
commitebed6606b95954b94df6229db806978b32f3fa23
tree4d9cfed5abd29210f752bc8e3a780b909de82c52
parent168464c19e1ab7ddc5fb80d9c9560cfbcce6211d
l2tp: move l2tp_ip and l2tp_ip6 data to pernet

l2tp_ip[6] have always used global socket tables. It is therefore not
possible to create l2tpip sockets in different namespaces with the
same socket address.

To support this, move l2tpip socket tables to pernet data.

Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_ip.c
net/l2tp/l2tp_ip6.c