All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch net 0/2] netem: Fix skb duplication logic to prevent infinite loops
@ 2025-07-01 23:13 Cong Wang
  2025-07-01 23:13 ` [Patch net 1/2] " Cong Wang
  2025-07-01 23:13 ` [Patch net 2/2] selftests/tc-testing: Add a nested netem duplicate test Cong Wang
  0 siblings, 2 replies; 16+ messages in thread
From: Cong Wang @ 2025-07-01 23:13 UTC (permalink / raw)
  To: netdev; +Cc: jhs, will, stephen, Cong Wang

This patchset fixes the infinite loops due to skb duplication in netem.

This replaces the patches from William, with much less code and without
any workaround. More importantly, this does not break any use case at
all.

---

Cong Wang (2):
  netem: Fix skb duplication logic to prevent infinite loops
  selftests/tc-testing: Add a nested netem duplicate test

 include/net/sch_generic.h                     |  1 +
 net/sched/sch_netem.c                         |  7 +++---
 .../tc-testing/tc-tests/qdiscs/netem.json     | 25 +++++++++++++++++++
 3 files changed, 29 insertions(+), 4 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-07-08 13:18 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-01 23:13 [Patch net 0/2] netem: Fix skb duplication logic to prevent infinite loops Cong Wang
2025-07-01 23:13 ` [Patch net 1/2] " Cong Wang
2025-07-02  1:57   ` Cong Wang
2025-07-02 14:12     ` Jamal Hadi Salim
2025-07-02 15:04       ` Jamal Hadi Salim
2025-07-02 15:06         ` Jamal Hadi Salim
2025-07-02 15:20           ` William Liu
2025-07-05  0:48         ` Cong Wang
2025-07-05 13:52           ` Jamal Hadi Salim
2025-07-06 14:59             ` William Liu
2025-07-07 20:49               ` Jamal Hadi Salim
2025-07-07 21:26                 ` Jakub Kicinski
2025-07-08 13:18                   ` Jamal Hadi Salim
2025-07-07 19:40             ` Cong Wang
2025-07-07 20:24               ` Jamal Hadi Salim
2025-07-01 23:13 ` [Patch net 2/2] selftests/tc-testing: Add a nested netem duplicate test Cong Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.