This series fixes reference counting of action instances and modules in several parts of action init code. The first patch reverts previous fix that didn't properly account for rollback from a failure in the middle of the loop in tcf_action_init() which is properly fixed by the following patch.
Vlad Buslov (3): Revert "net: sched: bump refcount for new action in ACT replace mode" net: sched: fix action overwrite reference counting net: sched: fix err handler in tcf_action_init() include/net/act_api.h | 12 ++++------ net/sched/act_api.c | 51 ++++++++++++++++++++++++++----------------- net/sched/cls_api.c | 14 ++++++------ 3 files changed, 42 insertions(+), 35 deletions(-) -- 2.29.2