kernel-hacking-2024-linux-s.../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
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
l2tp_ip.c l2tp: store l2tpv3 sessions in per-net IDR 2024-06-21 11:33:33 +01:00
l2tp_ip6.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
trace.h