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

Paul Moses posted 1 patch 1 month, 1 week ago
include/net/tc_act/tc_gate.h |  33 ++++-
net/sched/act_gate.c         | 265 ++++++++++++++++++++++++-----------
2 files changed, 212 insertions(+), 86 deletions(-)
[PATCH net v8 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 v7:
- remove unreachable `!cycletime` error branch and dead `unlock:` label

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, 212 insertions(+), 86 deletions(-)

-- 
2.53.GIT