diff options
author | Victor Nogueira <[email protected]> | 2024-02-07 19:29:02 -0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-02-09 12:57:25 -0800 |
commit | aae09a6c7783e28d1bcafee85e172fe411923b22 (patch) | |
tree | 6f5f4b177f1489774db9741a668a67a9d14238e8 /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | 6a12401b65a5ba57cfe1361c9a3e054ffde68611 (diff) |
net/sched: act_mirred: Don't zero blockid when net device is being deleted
While testing tdc with parallel tests for mirred to block we caught an
intermittent bug. The blockid was being zeroed out when a net device
was deleted and, thus, giving us an incorrect blockid value whenever
we tried to dump the mirred action. Since we don't increment the block
refcount in the control path (and only use the ID), we don't need to
zero the blockid field whenever a net device is going down.
Fixes: 42f39036cda8 ("net/sched: act_mirred: Allow mirred to block")
Signed-off-by: Victor Nogueira <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Acked-by: Jamal Hadi Salim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions