]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: netfilter: nft_concat_range.sh: send packets to empty set
authorFlorian Westphal <fw@strlen.de>
Tue, 1 Jul 2025 12:41:37 +0000 (14:41 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 14 Jul 2025 13:21:34 +0000 (15:21 +0200)
commit6dc2fae7f8a2384304ef48b7cdcb988222102a54
tree219e6863a68fd8c23f835c388d23667205b5c549
parentaa085ea1a68d27d34f14db1f4026c35aa6b1ecc8
selftests: netfilter: nft_concat_range.sh: send packets to empty set

The selftest doesn't cover this error path:
 scratch = *raw_cpu_ptr(m->scratch);
 if (unlikely(!scratch)) { // here

cover this too.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tools/testing/selftests/net/netfilter/nft_concat_range.sh