diff options
Diffstat (limited to 'net/sched/act_simple.c')
-rw-r--r-- | net/sched/act_simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/act_simple.c b/net/sched/act_simple.c index 91816d73f3f3..e84768ae610a 100644 --- a/net/sched/act_simple.c +++ b/net/sched/act_simple.c | |||
@@ -121,7 +121,7 @@ static int tcf_simp_init(struct net *net, struct nlattr *nla, | |||
121 | d = to_defact(*a); | 121 | d = to_defact(*a); |
122 | ret = alloc_defdata(d, defdata); | 122 | ret = alloc_defdata(d, defdata); |
123 | if (ret < 0) { | 123 | if (ret < 0) { |
124 | tcf_idr_cleanup(*a, est); | 124 | tcf_idr_release(*a, bind); |
125 | return ret; | 125 | return ret; |
126 | } | 126 | } |
127 | d->tcf_action = parm->action; | 127 | d->tcf_action = parm->action; |