linux/net/l2tp
James Chapman d18d3f0a24 l2tp: replace hlist with simple list for per-tunnel session list
The per-tunnel session list is no longer used by the
datapath. However, we still need a list of sessions in the tunnel for
l2tp_session_get_nth, which is used by management code. (An
alternative might be to walk each session IDR list, matching only
sessions of a given tunnel.)

Replace the per-tunnel hlist with a per-tunnel list. In functions
which walk a list of sessions of a tunnel, walk this list instead.

Signed-off-by: James Chapman <jchapman@katalix.com>
Reviewed-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-06-21 11:33:34 +01:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
l2tp_core.c l2tp: replace hlist with simple list for per-tunnel session list 2024-06-21 11:33:34 +01:00
l2tp_core.h l2tp: replace hlist with simple list for per-tunnel session list 2024-06-21 11:33:34 +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 net l2tp: drop flow hash on forward 2024-04-26 13:48:24 +02:00
l2tp_ip6.c l2tp: store l2tpv3 sessions in per-net IDR 2024-06-21 11:33:33 +01:00
l2tp_ip.c l2tp: store l2tpv3 sessions in per-net IDR 2024-06-21 11:33:33 +01:00
l2tp_netlink.c l2tp: use IDR for all session lookups 2024-06-21 11:33:34 +01:00
l2tp_ppp.c l2tp: use IDR for all session lookups 2024-06-21 11:33:34 +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