Commit 1d14b30b authored by Jamal Hadi Salim's avatar Jamal Hadi Salim Committed by Jakub Kicinski

net: sched: remove unused tcf_result extension

Added by:
commit e5cf1baf ("act_mirred: use TC_ACT_REINSERT when possible")
but no longer useful.
Signed-off-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
Link: https://lore.kernel.org/r/20220919130627.3551233-1-jhs@mojatatu.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent cdf49fff
......@@ -326,11 +326,6 @@ struct tcf_result {
};
const struct tcf_proto *goto_tp;
/* used in the skb_tc_reinsert function */
struct {
bool ingress;
struct gnet_stats_queue *qstats;
};
};
};
......
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment