[PATCH net v7 0/1] net/sched: act_gate: snapshot parameters with RCU on replace

Paul Moses posted 1 patch 1 month, 1 week ago
There is a newer version of this series
include/net/tc_act/tc_gate.h |  33 ++++-
net/sched/act_gate.c         | 265 +++++++++++++++++++++++++----------
2 files changed, 215 insertions(+), 83 deletions(-)
[PATCH net v7 0/1] net/sched: act_gate: snapshot parameters with RCU on replace
Posted by Paul Moses 1 month, 1 week ago
This series fixes a schedule lifetime race in `act_gate` between the
control-plane replace path and the running hrtimer callback
(`gate_timer_func`).

Changes since v6:
- revert gate_start_timer()
- added explicit chain_put: label before release_idr:
- kzalloc failure path changed from goto release_idr to goto chain_put
- formatting only: blankline cleanup for readability, no behavior change

Paul Moses (1):
  net/sched: act_gate: snapshot parameters with RCU on replace

 include/net/tc_act/tc_gate.h |  33 ++++-
 net/sched/act_gate.c         | 265 +++++++++++++++++++++++++----------
 2 files changed, 215 insertions(+), 83 deletions(-)

-- 
2.53.0