]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: netfilter: add bridge tunnel flowtable regression
authorZhengyang Chen <chzhengyang2023@lzu.edu.cn>
Mon, 22 Jun 2026 10:10:27 +0000 (18:10 +0800)
committerFlorian Westphal <fw@strlen.de>
Fri, 10 Jul 2026 14:28:47 +0000 (16:28 +0200)
commitbd0bdfae1cf0e064b317cd62b3bc29326684cdc6
treee64a513bc9e4635f97d8e0b4be392e15adb5d174
parentf62c41b4910e65da396ec9a8c40c1fe7fe82e449
selftests: netfilter: add bridge tunnel flowtable regression

Add a nft_flowtable.sh regression test for the bridge direct-xmit plus
IPIP/IP6IP6 underlay configuration that reproduces the reachable
DIRECT+tunnel tuple combination exercised by the flowtable fix.

The test reuses the existing bridge and tunnel topology, installs flow
rules for the tunnel egress and bridge reply path, verifies IPv4 and
IPv6 forwarding, and checks the flowtable counters after the transfer.

Signed-off-by: Zhengyang Chen <chzhengyang2023@lzu.edu.cn>
Signed-off-by: Ren Wei <n05ec@lzu.edu.cn>
Signed-off-by: Florian Westphal <fw@strlen.de>
tools/testing/selftests/net/netfilter/nft_flowtable.sh