pkt_sched: Fix unlocking in tc_ctl_tfilter()
Fix a bug with spin_lock_bh() inserted instead of spin_unlock_bh() by some recent patch. Reported-by: Denys Fedoryshchenko <denys@visp.net.lb> Signed-off-by: Jarek Poplawski <jarkao2@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
191cd58250
commit
323c048836
|
@ -280,7 +280,7 @@ replay:
|
|||
if (n->nlmsg_type == RTM_DELTFILTER && t->tcm_handle == 0) {
|
||||
spin_lock_bh(root_lock);
|
||||
*back = tp->next;
|
||||
spin_lock_bh(root_lock);
|
||||
spin_unlock_bh(root_lock);
|
||||
|
||||
tfilter_notify(skb, n, tp, fh, RTM_DELTFILTER);
|
||||
tcf_destroy(tp);
|
||||
|
|
Loading…
Reference in New Issue