From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.216.245.30 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796117645; b=NPWDplJ4cZZqS8mTaNlHxTa+Dpns8ybvTToMBg6vRaAQ72LBdU3riMqqC2MXaryk9M6i IxBzdfUItSYixEvgkDgElqsdbDzPVgZgI31SsXaVjJs31TINv3ibJ5l6PE8pgHnQUYpRQ MUvf9PoKNUncsyS48Kj4TnwiOTMOPFDFD/MxKyGR19I8yg4FCjYyWO5nJB7j992Fxv4ti Ak0rMqASe6aJGcFYzpLv6YJaLGv/a74/1K01PBelCP10aQCtiaC34UW7thHdrVGDy1ImI S/n7JFqzQPqhTC8OB/fI72B6r/2lZti40GkrrhO/epUYoz/0IF/Qb47MLXNkE6347fg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796117645; h=DMARC-Filter:Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=yrPx73X4pKonL3IHgiJJa/HZIBKbfFW3LnJnWNei74s=; b=bC8RhcG5SnozhnKnBax/tF9f6011RWd+49sj0J38/TkxMZh0QL9D5xRf1f/a4sLLzrG/ 64mm6Bi/XOxdqHoQaW9W7M8hya9fuNho0QMbXmbRurYBqZP+nBMrVbDI4LnhD6kkSDWLe t0R9qCDyhjWTE4LVZWgyaV2RS8RtsyAbqbCjmlDnxRIsWlY0CjebfbFcfbeamCon8Bd/N 3Gy8wvxr7w5wqcvxUKmnUItn1vGggcfdhhFc37Zmqe70u9FfWB5fsMInyovI6TCAC3NTh bcgP6ef4iNsieuD+lDtNAYCwoKd2B0OMJL9izt7lP2FTUwcGvF0QvV+Q2HE5TFfsdLQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=strlen.de; spf=pass smtp.mailfrom=strlen.de; arc=none smtp.remote-ip=91.216.245.30 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [91.216.245.30]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE298606A31A; Tue, 1 Dec 2026 09:34:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org EE298606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strlen.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=strlen.de Received: by Chamillionaire.breakpoint.cc (Postfix, from userid 1003) id C21C060442; Tue, 01 Dec 2026 10:33:55 +0100 (CET) Date: Tue, 1 Dec 2026 10:33:54 +0100 From: Florian Westphal To: Paolo Abeni 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 Message-ID: References: <20261124163358.755345-2-theodorlarionov@gmail.com> <179567851468.3135.1445286719198754408@kernel.org> X-Mailing-List: netfilter-devel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Paolo Abeni wrote: > On 12/1/26 03:25, willemb@google.com wrote: > > Florian Westphal wrote: > >> 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.