summaryrefslogtreecommitdiff
path: root/net/sched
diff options
context:
space:
mode:
authorJamal Hadi Salim <jhs@mojatatu.com>2022-09-19 13:06:27 +0000
committerJakub Kicinski <kuba@kernel.org>2022-09-21 18:32:33 -0700
commit1d14b30b5a5e52da93467af7c1dca08f124186df (patch)
treec57344a9b99e963a23153f46e32b1e4f475b08be /net/sched
parentcdf49fff10fd4a617a4331a2911097ac65290f7a (diff)
downloadlinux-rpi-1d14b30b5a5e52da93467af7c1dca08f124186df.tar.gz
linux-rpi-1d14b30b5a5e52da93467af7c1dca08f124186df.tar.bz2
linux-rpi-1d14b30b5a5e52da93467af7c1dca08f124186df.zip
net: sched: remove unused tcf_result extension
Added by: commit e5cf1baf92cb ("act_mirred: use TC_ACT_REINSERT when possible") but no longer useful. Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> Link: https://lore.kernel.org/r/20220919130627.3551233-1-jhs@mojatatu.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/act_mirred.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sched/act_mirred.c b/net/sched/act_mirred.c
index f9c14d4188d4..b8ad6ae282c0 100644
--- a/net/sched/act_mirred.c
+++ b/net/sched/act_mirred.c
@@ -305,8 +305,7 @@ static int tcf_mirred_act(struct sk_buff *skb, const struct tc_action *a,
/* let's the caller reinsert the packet, if possible */
if (use_reinsert) {
- res->ingress = want_ingress;
- err = tcf_mirred_forward(res->ingress, skb);
+ err = tcf_mirred_forward(want_ingress, skb);
if (err)
tcf_action_inc_overlimit_qstats(&m->common);
__this_cpu_dec(mirred_rec_level);