netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Patch net v2 0/2] l2tp: fix race conditions in l2tp_tunnel_register()
@ 2023-01-10 21:00 Cong Wang
  2023-01-10 21:00 ` [Patch net v2 1/2] l2tp: convert l2tp_tunnel_list to idr Cong Wang
  2023-01-10 21:00 ` [Patch net v2 2/2] l2tp: close all race conditions in l2tp_tunnel_register() Cong Wang
  0 siblings, 2 replies; 5+ messages in thread
From: Cong Wang @ 2023-01-10 21:00 UTC (permalink / raw)
  To: netdev; +Cc: saeed, gnault, Cong Wang

From: Cong Wang <cong.wang@bytedance.com>

This patchset contains two patches, the first one is a preparation for
the second one which is the actual fix. Please find more details in
each patch description.

I have ran the l2tp test (https://github.com/katalix/l2tp-ktest),
all test cases are passed.

---
v2: move IDR allocation to l2tp_tunnel_register()

Cong Wang (2):
  l2tp: convert l2tp_tunnel_list to idr
  l2tp: close all race conditions in l2tp_tunnel_register()

 net/l2tp/l2tp_core.c | 105 +++++++++++++++++++++----------------------
 1 file changed, 52 insertions(+), 53 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-01-12 13:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-10 21:00 [Patch net v2 0/2] l2tp: fix race conditions in l2tp_tunnel_register() Cong Wang
2023-01-10 21:00 ` [Patch net v2 1/2] l2tp: convert l2tp_tunnel_list to idr Cong Wang
2023-01-11 11:29   ` Tom Parkin
2023-01-12 13:18     ` Paolo Abeni
2023-01-10 21:00 ` [Patch net v2 2/2] l2tp: close all race conditions in l2tp_tunnel_register() Cong Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).