diff --git a/net/sched/act_bpf.c b/net/sched/act_bpf.c index b3f2c15affa7b2d1b533163b6d88b3d518635d7d..9d2cabf1dc7ea52581ee9a42cdc1b462d7fbce57 100644 --- a/net/sched/act_bpf.c +++ b/net/sched/act_bpf.c @@ -352,7 +352,7 @@ static int tcf_bpf_init(struct net *net, struct nlattr *nla, return res; out: if (res == ACT_P_CREATED) - tcf_idr_cleanup(*act, est); + tcf_idr_release(*act, bind); return ret; }