projects
/
linux-2.6-block.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-block.git]
/
net
/
sched
/
act_csum.c
diff --git
a/net/sched/act_csum.c
b/net/sched/act_csum.c
index f5826e457679f34a2e9816206b33268427d02f1c..4fa4fcb842ba7cee5b5d9b5a36caa2c83b02e6e2 100644
(file)
--- a/
net/sched/act_csum.c
+++ b/
net/sched/act_csum.c
@@
-110,9
+110,6
@@
static int tcf_csum_init(struct net *net, struct nlattr *nla,
if (params_new)
kfree_rcu(params_new, rcu);
- if (ret == ACT_P_CREATED)
- tcf_idr_insert(tn, *a);
-
return ret;
put_chain:
if (goto_ch)