git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
net
/
sched
/
cls_tcindex.c
diff --git
a/net/sched/cls_tcindex.c
b/net/sched/cls_tcindex.c
index
adbc77d
..
c696fcf
100644
(file)
--- 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
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);
#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_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)
}
#endif
if (r != &new_filter_result)