diff options
Diffstat (limited to 'net/sched/act_bpf.c')
-rw-r--r-- | net/sched/act_bpf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/act_bpf.c b/net/sched/act_bpf.c index 1b97dabc621a..458cf647e698 100644 --- a/net/sched/act_bpf.c +++ b/net/sched/act_bpf.c | |||
@@ -327,7 +327,7 @@ static int tcf_bpf_init(struct net *net, struct nlattr *nla, | |||
327 | prog = to_bpf(act); | 327 | prog = to_bpf(act); |
328 | spin_lock_bh(&prog->tcf_lock); | 328 | spin_lock_bh(&prog->tcf_lock); |
329 | 329 | ||
330 | if (ret != ACT_P_CREATED) | 330 | if (res != ACT_P_CREATED) |
331 | tcf_bpf_prog_fill_cfg(prog, &old); | 331 | tcf_bpf_prog_fill_cfg(prog, &old); |
332 | 332 | ||
333 | prog->bpf_ops = cfg.bpf_ops; | 333 | prog->bpf_ops = cfg.bpf_ops; |