diff options
Diffstat (limited to 'net/sched/cls_matchall.c')
| -rw-r--r-- | net/sched/cls_matchall.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/net/sched/cls_matchall.c b/net/sched/cls_matchall.c index 820938fa09ed..da916f39b719 100644 --- a/net/sched/cls_matchall.c +++ b/net/sched/cls_matchall.c | |||
| @@ -71,8 +71,7 @@ static void mall_destroy_hw_filter(struct tcf_proto *tp, | |||
| 71 | struct tc_cls_matchall_offload cls_mall = {}; | 71 | struct tc_cls_matchall_offload cls_mall = {}; |
| 72 | struct tcf_block *block = tp->chain->block; | 72 | struct tcf_block *block = tp->chain->block; |
| 73 | 73 | ||
| 74 | tc_cls_common_offload_init(&cls_mall.common, tp, head->flags, block, | 74 | tc_cls_common_offload_init(&cls_mall.common, tp, head->flags, extack); |
| 75 | extack); | ||
| 76 | cls_mall.command = TC_CLSMATCHALL_DESTROY; | 75 | cls_mall.command = TC_CLSMATCHALL_DESTROY; |
| 77 | cls_mall.cookie = cookie; | 76 | cls_mall.cookie = cookie; |
| 78 | 77 | ||
| @@ -94,8 +93,7 @@ static int mall_replace_hw_filter(struct tcf_proto *tp, | |||
| 94 | if (!cls_mall.rule) | 93 | if (!cls_mall.rule) |
| 95 | return -ENOMEM; | 94 | return -ENOMEM; |
| 96 | 95 | ||
| 97 | tc_cls_common_offload_init(&cls_mall.common, tp, head->flags, block, | 96 | tc_cls_common_offload_init(&cls_mall.common, tp, head->flags, extack); |
| 98 | extack); | ||
| 99 | cls_mall.command = TC_CLSMATCHALL_REPLACE; | 97 | cls_mall.command = TC_CLSMATCHALL_REPLACE; |
| 100 | cls_mall.cookie = cookie; | 98 | cls_mall.cookie = cookie; |
| 101 | 99 | ||
| @@ -295,8 +293,7 @@ static int mall_reoffload(struct tcf_proto *tp, bool add, tc_setup_cb_t *cb, | |||
| 295 | if (!cls_mall.rule) | 293 | if (!cls_mall.rule) |
| 296 | return -ENOMEM; | 294 | return -ENOMEM; |
| 297 | 295 | ||
| 298 | tc_cls_common_offload_init(&cls_mall.common, tp, head->flags, block, | 296 | tc_cls_common_offload_init(&cls_mall.common, tp, head->flags, extack); |
| 299 | extack); | ||
| 300 | cls_mall.command = add ? | 297 | cls_mall.command = add ? |
| 301 | TC_CLSMATCHALL_REPLACE : TC_CLSMATCHALL_DESTROY; | 298 | TC_CLSMATCHALL_REPLACE : TC_CLSMATCHALL_DESTROY; |
| 302 | cls_mall.cookie = (unsigned long)head; | 299 | cls_mall.cookie = (unsigned long)head; |
| @@ -331,8 +328,7 @@ static void mall_stats_hw_filter(struct tcf_proto *tp, | |||
| 331 | struct tc_cls_matchall_offload cls_mall = {}; | 328 | struct tc_cls_matchall_offload cls_mall = {}; |
| 332 | struct tcf_block *block = tp->chain->block; | 329 | struct tcf_block *block = tp->chain->block; |
| 333 | 330 | ||
| 334 | tc_cls_common_offload_init(&cls_mall.common, tp, head->flags, block, | 331 | tc_cls_common_offload_init(&cls_mall.common, tp, head->flags, NULL); |
| 335 | NULL); | ||
| 336 | cls_mall.command = TC_CLSMATCHALL_STATS; | 332 | cls_mall.command = TC_CLSMATCHALL_STATS; |
| 337 | cls_mall.cookie = cookie; | 333 | cls_mall.cookie = cookie; |
| 338 | 334 | ||
