linux/net/l2tp
Kuniyuki Iwashima 1ad001347f l2tp: Don't assign net->gen->ptr[] for pppol2tp_net_ops.
Commit fd558d186d ("l2tp: Split pppol2tp patch into separate l2tp and
ppp parts") converted net->gen->ptr[pppol2tp_net_id] in l2tp_ppp.c to
net->gen->ptr[l2tp_net_id] in l2tp_core.c.

Now the leftover wastes one entry of net->gen->ptr[] in each netns.

Let's avoid the unwanted allocation.

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-08-03 22:38:44 +01:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
l2tp_core.c l2tp: use pre_exit pernet hook to avoid rcu_barrier 2024-07-31 09:25:14 +01:00
l2tp_core.h l2tp: prevent possible tunnel refcount underflow 2024-07-31 09:25:13 +01:00
l2tp_debugfs.c l2tp: replace hlist with simple list for per-tunnel session list 2024-06-21 11:33:34 +01:00
l2tp_eth.c l2tp: cleanup eth/ppp pseudowire setup code 2024-07-31 09:25:13 +01:00
l2tp_ip6.c l2tp: lookup tunnel from socket without using sk_user_data 2024-07-31 09:25:12 +01:00
l2tp_ip.c l2tp: have l2tp_ip_destroy_sock use ip_flush_pending_frames 2024-07-31 09:25:12 +01:00
l2tp_netlink.c l2tp: prevent possible tunnel refcount underflow 2024-07-31 09:25:13 +01:00
l2tp_ppp.c l2tp: Don't assign net->gen->ptr[] for pppol2tp_net_ops. 2024-08-03 22:38:44 +01:00
Makefile l2tp: add tracepoint infrastructure to core 2020-08-22 12:44:37 -07:00
trace.h l2tp: add tracepoint definitions in trace.h 2020-08-22 12:44:37 -07:00