net: sched: remove unused tcf_result extension
Subsystems (3)
Jamal Hadi Salim
maintainerPATCH 1/1 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 <[email protected]>
--- include/net/sch_generic.h | 5 ----- net/sched/act_mirred.c | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-)
include/net/sch_generic.h +0 -5
@@ -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; - }; }; };
net/sched/act_mirred.c +1 -2
@@ -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);
Signature · 1 line
2.25.1
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:
Quoted 9 lines · On Mon, 19 Sep 2022 13:06:27 +0000 you wrote:
Added by:
commite5cf1baf92cb("act_mirred: useTC_ACT_REINSERTwhen possible") but no longer useful.Signed-off-by Jamal Hadi Salim <[email protected]>--- include/net/sch_generic.h | 5 ----- net/sched/act_mirred.c | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-)
Here is the summary with links:
- [net-next,1/1] net: sched: remove unused tcf_result extension
https://git.kernel.org/netdev/net-next/c/1d14b30b5a5e
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html