diff options
| author | WANG Cong <[email protected]> | 2014-09-25 17:26:37 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-09-28 21:29:01 +0000 |
| commit | 18d0264f630e200772bf236ac5747c47e908501e (patch) | |
| tree | 1881985374a2411bf9262e1e5977c8f4efd39849 /net/sched/cls_basic.c | |
| parent | mlx4: exploit skb->xmit_more to conditionally send doorbell (diff) | |
| download | kernel-18d0264f630e200772bf236ac5747c47e908501e.tar.gz kernel-18d0264f630e200772bf236ac5747c47e908501e.zip | |
net_sched: remove the first parameter from tcf_exts_destroy()
Cc: Jamal Hadi Salim <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Acked-by: Jamal Hadi Salim <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/cls_basic.c')
| -rw-r--r-- | net/sched/cls_basic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/cls_basic.c b/net/sched/cls_basic.c index 1937298d6775..fe20826a79e7 100644 --- a/net/sched/cls_basic.c +++ b/net/sched/cls_basic.c @@ -94,7 +94,7 @@ static void basic_delete_filter(struct rcu_head *head) struct tcf_proto *tp = f->tp; tcf_unbind_filter(tp, &f->res); - tcf_exts_destroy(tp, &f->exts); + tcf_exts_destroy(&f->exts); tcf_em_tree_destroy(tp, &f->ematches); kfree(f); } @@ -161,7 +161,7 @@ static int basic_set_parms(struct net *net, struct tcf_proto *tp, return 0; errout: - tcf_exts_destroy(tp, &e); + tcf_exts_destroy(&e); return err; } |
