X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fsched%2Fcls_tcindex.c;h=adbc77dd23186d1d84ba125b2ddc0337133dc285;hb=9c920a8402f2bb9bd931801d429b65f4eb6a262b;hp=c696fcf8f166d8e9b9b43eae59491a5c2df8992d;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/net/sched/cls_tcindex.c b/net/sched/cls_tcindex.c index c696fcf8f..adbc77dd2 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, TCA_ACT_UNBIND); + tcf_police_release(r->police); #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,TCA_ACT_UNBIND); + tcf_police_release(police); } #endif if (r != &new_filter_result)