public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net v1 0/3] act_gate fixes and gate selftest update
@ 2026-01-16 11:25 Paul Moses
  2026-01-16 11:25 ` [PATCH net v1 1/3] selftests: tc-testing: fix gate replace schedule Paul Moses
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Paul Moses @ 2026-01-16 11:25 UTC (permalink / raw)
  To: netdev; +Cc: Paul Moses

This series fixes act_gate schedule update races by switching to an RCU
prepare-then-swap update pattern and ensures netlink dump structs are
zeroed to avoid leaking padding to userspace. It also updates the
tc-testing gate replace test to include the mandatory schedule entries
so the test suite reflects the action's strict semantics.

Paul Moses (3):
  selftests: tc-testing: fix gate replace schedule
  net/sched: act_gate: fix schedule updates with RCU swap
  net/sched: act_gate: zero-initialize netlink dump struct

 include/net/tc_act/tc_gate.h                  |  43 ++-
 net/sched/act_gate.c                          | 287 +++++++++++++-----
 .../tc-testing/tc-tests/actions/gate.json     |   2 +-
 3 files changed, 254 insertions(+), 78 deletions(-)

-- 
2.52.GIT


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

end of thread, other threads:[~2026-01-19 19:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-16 11:25 [PATCH net v1 0/3] act_gate fixes and gate selftest update Paul Moses
2026-01-16 11:25 ` [PATCH net v1 1/3] selftests: tc-testing: fix gate replace schedule Paul Moses
2026-01-16 11:26 ` [PATCH net v1 2/3] net/sched: act_gate: fix schedule updates with RCU swap Paul Moses
2026-01-19 19:12   ` [net,v1,2/3] " Jakub Kicinski
2026-01-16 11:26 ` [PATCH net v1 3/3] net/sched: act_gate: zero-initialize netlink dump struct Paul Moses
2026-01-19 19:14   ` Jakub Kicinski
2026-01-19 18:32 ` [PATCH net v1 0/3] act_gate fixes and gate selftest update Jakub Kicinski
2026-01-19 18:50   ` Paul Moses
2026-01-19 19:12     ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox