act_gate fixes and gate selftest update
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | selftests: tc-testing: fix gate replace scheduletools/ | +1 | 0 replies | |
| 2/3 | net/sched: act_gate: fix schedule updates with RCU swapinclude/ net/ | +248 | 1 reply | |
| 3/3 | net/sched: act_gate: zero-initialize netlink dump structnet/ | +5 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [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(-)
Signature · 1 line
2.52.GIT