[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260116112522.159480-1-p@1g4.org>
Date: Fri, 16 Jan 2026 11:25:50 +0000
From: Paul Moses <p@....org>
To: netdev@...r.kernel.org
Cc: Paul Moses <p@....org>
Subject: [PATCH net v1 0/3] act_gate fixes and gate selftest update
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
Powered by blists - more mailing lists