From: Florian Westphal <fw@strlen.de>
To: Florian Westphal <fw@strlen.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH nf 2/2] selftests: netfilter: add test for br_netfilter+conntrack+queue combination
Date: Wed, 7 Aug 2024 21:51:34 +0200 [thread overview]
Message-ID: <20240807195134.GA29241@breakpoint.cc> (raw)
In-Reply-To: <20240807192848.28007-3-fw@strlen.de>
Florian Westphal <fw@strlen.de> wrote:
> Trigger cloned skbs leaving softirq protection.
> This triggers splat without the preceeding change
> ("netfilter: nf_queue: drop packets with cloned unconfirmed
> conntracks"):
>
> WARNING: at net/netfilter/nf_conntrack_core.c:1198 __nf_conntrack_confirm..
>
> because local delivery and forwarding will race for confirmation.
>
> Based on a reproducer script from Yi Chen.
>
> Signed-off-by: Florian Westphal <fw@strlen.de>
> ---
> tools/testing/selftests/net/netfilter/lib.sh | 16 +++++
> .../selftests/net/netfilter/nft_queue.sh | 16 -----
Those two files should be unchanged. I'll send a v2 of the
selftest script tomorrow.
next prev parent reply other threads:[~2024-08-07 19:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-07 19:28 [PATCH nf 0/2] netfilter: disable support for queueing cloned conntrack entries Florian Westphal
2024-08-07 19:28 ` [PATCH nf 1/2] netfilter: nf_queue: drop packets with cloned unconfirmed conntracks Florian Westphal
2024-08-07 19:28 ` [PATCH nf 2/2] selftests: netfilter: add test for br_netfilter+conntrack+queue combination Florian Westphal
2024-08-07 19:51 ` Florian Westphal [this message]
2024-08-08 21:14 ` [PATCH nf v2 " Florian Westphal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240807195134.GA29241@breakpoint.cc \
--to=fw@strlen.de \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.