Revert "net: sched: bump refcount for new action in ACT replace mode"
authorVlad Buslov <vladbu@nvidia.com>
Wed, 7 Apr 2021 15:36:02 +0000 (18:36 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Apr 2021 06:42:14 +0000 (08:42 +0200)
commitb451aed56348ee1202d0dc6f52645104b06a2206
tree99fa94f3cd04c7bd2061a0bc196fc26ea4e9d48b
parenta22115c3492f209c4a5a8d04a0da8c4f29f25a0e
Revert "net: sched: bump refcount for new action in ACT replace mode"

commit 4ba86128ba077fbb7d86516ae24ed642e6c3adef upstream.

This reverts commit 6855e8213e06efcaf7c02a15e12b1ae64b9a7149.

Following commit in series fixes the issue without introducing regression
in error rollback of tcf_action_destroy().

Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/sched/act_api.c