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_u32.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_u32.c')
-rw-r--r-- | net/sched/cls_u32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/cls_u32.c b/net/sched/cls_u32.c index ef97a646ee94..4be3ebf46d67 100644 --- a/net/sched/cls_u32.c +++ b/net/sched/cls_u32.c | |||
@@ -359,7 +359,7 @@ static int u32_destroy_key(struct tcf_proto *tp, | |||
359 | bool free_pf) | 359 | bool free_pf) |
360 | { | 360 | { |
361 | tcf_unbind_filter(tp, &n->res); | 361 | tcf_unbind_filter(tp, &n->res); |
362 | tcf_exts_destroy(tp, &n->exts); | 362 | tcf_exts_destroy(&n->exts); |
363 | if (n->ht_down) | 363 | if (n->ht_down) |
364 | n->ht_down->refcnt--; | 364 | n->ht_down->refcnt--; |
365 | #ifdef CONFIG_CLS_U32_PERF | 365 | #ifdef CONFIG_CLS_U32_PERF |
@@ -606,7 +606,7 @@ static int u32_set_parms(struct net *net, struct tcf_proto *tp, | |||
606 | 606 | ||
607 | return 0; | 607 | return 0; |
608 | errout: | 608 | errout: |
609 | tcf_exts_destroy(tp, &e); | 609 | tcf_exts_destroy(&e); |
610 | return err; | 610 | return err; |
611 | } | 611 | } |
612 | 612 | ||