[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260111163947.811248-1-jhs@mojatatu.com>
Date: Sun, 11 Jan 2026 11:39:41 -0500
From: Jamal Hadi Salim <jhs@...atatu.com>
To: davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
horms@...nel.org,
andrew+netdev@...n.ch
Cc: netdev@...r.kernel.org,
xiyou.wangcong@...il.com,
jiri@...nulli.us,
victor@...atatu.com,
dcaratti@...hat.com,
lariel@...dia.com,
daniel@...earbox.net,
pablo@...filter.org,
kadlec@...filter.org,
fw@...len.de,
phil@....cc,
netfilter-devel@...r.kernel.org,
coreteam@...filter.org,
zyc199902@...omail.cn,
lrGerlinde@...lfence.com,
jschung2@...ton.me,
Jamal Hadi Salim <jhs@...atatu.com>
Subject: [PATCH net 0/6] net/sched: Fix packet loops in mirred and netem
We introduce a 2-bit global skb->ttl counter.Patch #1 describes how we puti
together those bits. Patches #2 and patch #5 use these bits.
I added Fixes tags to patch #1 in case it is useful for backporting.
Patch #3 and #4 revert William's earlier netem commits. Patch #6 introduces
tdc test cases.
Jamal Hadi Salim (5):
net: Introduce skb ttl field to track packet loops
net/sched: Fix ethx:ingress -> ethy:egress -> ethx:ingress mirred loop
Revert "net/sched: Restrict conditions for adding duplicating netems
to qdisc tree"
Revert "selftests/tc-testing: Add tests for restrictions on netem
duplication"
net/sched: fix packet loop on netem when duplicate is on
Victor Nogueira (1):
selftests/tc-testing: Add netem/mirred test cases exercising loops
drivers/net/ifb.c | 2 +-
include/linux/skbuff.h | 24 +-
include/net/sch_generic.h | 22 +
net/netfilter/nft_fwd_netdev.c | 1 +
net/sched/act_mirred.c | 45 +-
net/sched/sch_netem.c | 47 +-
.../tc-testing/tc-tests/actions/mirred.json | 616 +++++++++++++++++-
.../tc-testing/tc-tests/infra/qdiscs.json | 5 +-
.../tc-testing/tc-tests/qdiscs/netem.json | 96 +--
9 files changed, 698 insertions(+), 160 deletions(-)
--
2.34.1
Powered by blists - more mailing lists