[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210407153604.1680079-1-vladbu@nvidia.com>
Date: Wed, 7 Apr 2021 18:36:01 +0300
From: Vlad Buslov <vladbu@...dia.com>
To: <netdev@...r.kernel.org>
CC: <memxor@...il.com>, <xiyou.wangcong@...il.com>,
<davem@...emloft.net>, <jhs@...atatu.com>, <jiri@...nulli.us>,
<kuba@...nel.org>, <toke@...hat.com>, <marcelo.leitner@...il.com>,
<dcaratti@...hat.com>, Vlad Buslov <vladbu@...dia.com>
Subject: [PATCH net v2 0/3] Action initalization fixes
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
Powered by blists - more mailing lists