All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Paolo Abeni <pabeni@redhat.com>
Cc: willemb@google.com, netdev-bot+sashiko@kernel.org,
	theodorlarionov@gmail.com, davem@davemloft.net,
	edumazet@kernel.org, kuba@kernel.org, horms@kernel.org,
	pablo@netfilter.org, phil@nwl.cc, netdev@vger.kernel.org,
	netfilter-devel@vger.kernel.org, coreteam@netfilter.org
Subject: Re: [PATCH net v3 1/2] netfilter: nf_dup: do not duplicate packets from br_netfilter
Date: Tue, 1 Dec 2026 10:33:54 +0100	[thread overview]
Message-ID: <aw6UgidD7wqW8cVU@strlen.de> (raw)
In-Reply-To: <f62f354b-7b85-40b0-90dc-19154968d77d@redhat.com>

Paolo Abeni <pabeni@redhat.com> wrote:
> On 12/1/26 03:25, willemb@google.com wrote:
> > Florian Westphal wrote:
> >> netdev-bot+sashiko@kernel.org <netdev-bot+sashiko@kernel.org> wrote:
> >> > [Severity: Medium]
> >> > Does this turn off TEE and nft dup completely for any packet that has
> >> > passed through br_netfilter?
> >> >
> >> > The check runs on the original skb before pskb_copy(). With
> >> > bridge-nf-call-iptables or bridge-nf-call-ip6tables enabled, a rule like
> >> > this one no longer sends any copy:
> >> >
> >> >   iptables -t mangle -A PREROUTING -m physdev --physdev-in X \
> >> >            -j TEE --gateway G
> > 
> >> AI is right BUT I think this 'breakage' is good.
> >> We should absolutely start to break these use cases, little by little.
> > 
> > But should we do this in patches with Cc: stable?
> > 
> >> I intend to remove nfqueue support for br_netfilter, for instance.
> >> I hope we can remove the entire br_netfilter module by summer 2027.
> 
> I agree WRT the stable concern. Also patch 2/2 looks 'delicate'/potentially
> dangerous.
> What about targeting 'net-next' (no stable)?

Thats one option, the other one is to make nf_bridge_info_free() a
small inline helper and use that on the cloned ('sent') skb so it
doesn't retain the bridge information.

Given the number of LPEs I think net-next is fine in any case.

  reply	other threads:[~2026-12-01  9:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 16:33 [PATCH net v3 0/2] net: do not point a pskb copy's mac header into uninitialised headroom Theodor Arsenij Larionov Trichkine
2026-11-24 16:33 ` [PATCH net v3 1/2] netfilter: nf_dup: do not duplicate packets from br_netfilter Theodor Arsenij Larionov Trichkine
2026-11-26  7:35   ` netdev-bot+sashiko
2026-11-26  7:47     ` Florian Westphal
2026-12-01  2:25       ` willemb
2026-12-01  9:27         ` Paolo Abeni
2026-12-01  9:33           ` Florian Westphal [this message]
2026-11-24 16:33 ` [PATCH net v3 2/2] net: unset the mac header of a pskb copy that points into headroom Theodor Arsenij Larionov Trichkine
2026-12-01  2:32   ` willemb

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=aw6UgidD7wqW8cVU@strlen.de \
    --to=fw@strlen.de \
    --cc=coreteam@netfilter.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=netdev-bot+sashiko@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=pablo@netfilter.org \
    --cc=phil@nwl.cc \
    --cc=theodorlarionov@gmail.com \
    --cc=willemb@google.com \
    /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.