projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net_sched: defer tcf_idr_insert() in tcf_action_init_1()
[linux-2.6-microblaze.git]
/
net
/
sched
/
act_ctinfo.c
diff --git
a/net/sched/act_ctinfo.c
b/net/sched/act_ctinfo.c
index
b5042f3
..
6084300
100644
(file)
--- a/
net/sched/act_ctinfo.c
+++ b/
net/sched/act_ctinfo.c
@@
-269,9
+269,6
@@
static int tcf_ctinfo_init(struct net *net, struct nlattr *nla,
if (cp_new)
kfree_rcu(cp_new, rcu);
- if (ret == ACT_P_CREATED)
- tcf_idr_insert(tn, *a);
-
return ret;
put_chain: