linux/net/l2tp
James Chapman 2146b7dd35 l2tp: fix l2tp_session_register with colliding l2tpv3 IDs
When handling colliding L2TPv3 session IDs, we use the existing
session IDR entry and link the new session on that using
session->coll_list. However, when using an existing IDR entry, we must
not do the idr_replace step.

Fixes: aa5e17e1f5 ("l2tp: store l2tpv3 sessions in per-net IDR")
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>
2024-07-12 04:09:18 +01:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
l2tp_core.c l2tp: fix l2tp_session_register with colliding l2tpv3 IDs 2024-07-12 04:09:18 +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