diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2014-09-25 13:26:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-28 17:29:01 -0400 |
commit | 18d0264f630e200772bf236ac5747c47e908501e (patch) | |
tree | 1881985374a2411bf9262e1e5977c8f4efd39849 /net/sched/cls_flow.c | |
parent | 5804283d7cb1da46485950d545dd7869137dcda5 (diff) |
net_sched: remove the first parameter from tcf_exts_destroy()
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Jamal Hadi Salim <hadi@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_flow.c')
-rw-r--r-- | net/sched/cls_flow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/cls_flow.c b/net/sched/cls_flow.c index 95736fa479f3..f18d27f7b5f2 100644 --- a/net/sched/cls_flow.c +++ b/net/sched/cls_flow.c | |||
@@ -354,7 +354,7 @@ static void flow_destroy_filter(struct rcu_head *head) | |||
354 | struct flow_filter *f = container_of(head, struct flow_filter, rcu); | 354 | struct flow_filter *f = container_of(head, struct flow_filter, rcu); |
355 | 355 | ||
356 | del_timer_sync(&f->perturb_timer); | 356 | del_timer_sync(&f->perturb_timer); |
357 | tcf_exts_destroy(f->tp, &f->exts); | 357 | tcf_exts_destroy(&f->exts); |
358 | tcf_em_tree_destroy(f->tp, &f->ematches); | 358 | tcf_em_tree_destroy(f->tp, &f->ematches); |
359 | kfree(f); | 359 | kfree(f); |
360 | } | 360 | } |
@@ -533,7 +533,7 @@ err2: | |||
533 | tcf_em_tree_destroy(tp, &t); | 533 | tcf_em_tree_destroy(tp, &t); |
534 | kfree(fnew); | 534 | kfree(fnew); |
535 | err1: | 535 | err1: |
536 | tcf_exts_destroy(tp, &e); | 536 | tcf_exts_destroy(&e); |
537 | return err; | 537 | return err; |
538 | } | 538 | } |
539 | 539 | ||