This series contains fixes and relevant tests for two issues that are being
discussed in mailing list thread "net: sched: bump refcount for new action in ACT
replace mode".
Sending this as RFC to gather feedbeck. Non-RFC submission will probably split
in two: fixes to net, tests to net-next.
Vlad Buslov (4):
net: sched: fix action overwrite reference counting
net: sched: fix err handler in tcf_action_init()
tc-testing: add simple action test to verify batch add cleanup
tc-testing: add simple action test to verify batch change cleanup
include/net/act_api.h | 5 +-
net/sched/act_api.c | 57 +++++++++++-------
net/sched/cls_api.c | 9 +--
.../tc-testing/tc-tests/actions/simple.json | 59 +++++++++++++++++++
4 files changed, 104 insertions(+), 26 deletions(-)
--
2.29.2