mirror of
https://github.com/torvalds/linux.git
synced 2026-06-06 13:37:36 +02:00
Revert "net: sched: bump refcount for new action in ACT replace mode"
commit4ba86128baupstream. This reverts commit6855e8213e. 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>
This commit is contained in:
parent
a22115c349
commit
b451aed563
|
|
@ -1029,9 +1029,6 @@ struct tc_action *tcf_action_init_1(struct net *net, struct tcf_proto *tp,
|
|||
if (!name)
|
||||
a->hw_stats = hw_stats;
|
||||
|
||||
if (!bind && ovr && err == ACT_P_CREATED)
|
||||
refcount_set(&a->tcfa_refcnt, 2);
|
||||
|
||||
return a;
|
||||
|
||||
err_out:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user