X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fsched%2Fcls_tcindex.c;h=c696fcf8f166d8e9b9b43eae59491a5c2df8992d;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=adbc77dd23186d1d84ba125b2ddc0337133dc285;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/net/sched/cls_tcindex.c b/net/sched/cls_tcindex.c index adbc77dd2..c696fcf8f 100644 --- a/net/sched/cls_tcindex.c +++ b/net/sched/cls_tcindex.c @@ -190,7 +190,7 @@ found: if (cl) tp->q->ops->cl_ops->unbind_tcf(tp->q,cl); #ifdef CONFIG_NET_CLS_POLICE - tcf_police_release(r->police); + tcf_police_release(r->police, TCA_ACT_UNBIND); #endif if (f) kfree(f); @@ -333,7 +333,7 @@ static int tcindex_change(struct tcf_proto *tp,unsigned long base,u32 handle, tcf_tree_lock(tp); police = xchg(&r->police,police); tcf_tree_unlock(tp); - tcf_police_release(police); + tcf_police_release(police,TCA_ACT_UNBIND); } #endif if (r != &new_filter_result)