Paolo Abeni <pabe…@redhat.com> wrote:
> On 12/1/26 03:25, will…@google.com wrote:
> > Florian Westphal wrote:
> >> netd…@kernel.org <netd…@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.