Article View: linux.kernel.netdev
Article #22939Re: [PATCH net v3 1/2] netfilter: nf_dup: do not duplicate packets from br_netfilter
From: Florian Westphal
Date: Thu, 26 Nov 2026 07:47
Date: Thu, 26 Nov 2026 07:47
18 lines
7736 bytes
7736 bytes
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. I intend to remove nfqueue support for br_netfilter, for instance. I hope we can remove the entire br_netfilter module by summer 2027.
Technical Details
Message-ID:
<awfkH91UCnwcR2xO@strlen.de>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371925-linux-kernel-netdev=dewy.ruReferences:
<20261124163358.755345-2-theodorlarionov@gmail.com> <179567851468.3135.1445286719198754408@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371925-linux-kernel-netdev=dewy.ru From: fw@strlen.de (Florian Westphal) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v3 1/2] netfilter: nf_dup: do not duplicate packets from br_netfilter Date: Thu, 26 Nov 2026 08:47:43 +0100 Organization: Usenet Network Message-ID: <awfkH91UCnwcR2xO@strlen.de> References: <20261124163358.755345-2-theodorlarionov@gmail.com> <179567851468.3135.1445286719198754408@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="409094"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:N7H+zVdSjSsUsjDdqH21TpDlWu8= sha256:Ze3FmpY/ZvEBKZxZQ6qHiEoqZBOLVL3Hkg9SIRuXpSQ= sha1:sEm14DhtcNW5YLohb9tu0MJHuKU= sha256:Vm+ajfe0G4i/lfpSVF9yDsWDPnLvmI+1k/xzLyKeb7E= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 9E4D6125EB3; Thu, 26 Nov 2026 10:47:58 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.051 X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RKl74dnvHI8v; Thu, 26 Nov 2026 10:47:55 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-371925-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=strlen.de X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 2B6E6125EB1; Thu, 26 Nov 2026 10:47:51 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 7FB4A36996; Thu, 26 Nov 2026 07:47:49 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1795679268; b=DIpvnWExHef/FEDurxYxchE4TyYZ0dJesAiBDxp66l7ZAkx9ms5NPm3A44u3k7plK1M9 tM63MRTruE/mI7BSYYnZQQkt/m2SacD4ti1TVBVC9kJo/5vWOJDQMPHVdq85A4JRqCrqT bC0pb6r6C0G4jcUVkFgN5HivzLaGiHs2DdjbjmrxEOG/gXSQylBd4/rrCvoOl/K/tQywU VLlXwwweCLx9n85jSEfXiUf/Q6JbaeVO0EbekQh+F77KADqVL1u5732HqH6Y6VBrLw/eY TasMxPZvrmNIivU58jf1KbGXKvHBDI3BFzEQCiHqrApbY6ys9ggzpJipRKV8I3M37eg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795679268; h=X-Original-To:Received:DMARC-Filter:Received:Date:From:To:Cc:Subject: Message-ID:References:X-Mailing-List:List-Id:List-Post:List-Help: List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; bh=svC97d9nXvrKFk98bFnGJPyLh/4BeFzvRG8enrXb2Bs=; b=JBub7VZl3EELQzTPiPsmzeKrH5ZbLifDOqr85vifK/lBqRQ2Su9TyrmxWpuFsfOb9vsn fQEVRc2QnD8uMVdmaBgHDlUZWzGi7wLB+peYHhiPa09kOc1yBqjLfENXyLMxpdjpqItpA K/xXl/VRa1jp2lHlqB3F4MybnVWcgEUere0lIkXSAHUCkj08XJb/Am6oyU4nvKZWTJyb3 1PWaiknPwkCsoCzz55L1gAhSNeFFFcwlpsWOIqAtAUz7WY0Nm2R1H1TTWq8k3TVbMGeOK mdwGHXEaOEHaxO/2uOSrKL8tJumnb30SNLnG4ptFLT6E5nu0JdjTX7VChTGafgZC0FQ== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none header.from=strlen.de; spf=pass smtp.mailfrom=strlen.de; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D01D4606A331; Thu, 26 Nov 2026 07:47:48 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.216.245.30 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795679268; b=kgU6lean7+N+K9MiLklQ5XX/Z6iXzt5GDyxmZbNtyyizZvhydn4GKy2S061myM6nZ4uQ 6rsGyNHvkmS8h/qRKOZRIDo4ZRz3sSzg+uCukp/PpY1Y6TL9DIH226U8/dfbu+d03T9Es 0wBXH/oqYww9FSpFYecUK7xans+U/cY2HtHfACsqClbJxzr2XiHZ10Yx5nS5AQXhbVx3l 0gPGhEy1SDkuu96mjgS3KmJOz7MAlZo5asgeYX69NxvxRDt4Kr9JfFF5ujwd7/vPWdMBb gicGhgE21sYqycrFX31I1oQ0ljIA9OQcJjz3AhqX/p/C/kqUlQTTy0kocDA17kPwqGg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795679268; h=DMARC-Filter:Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=svC97d9nXvrKFk98bFnGJPyLh/4BeFzvRG8enrXb2Bs=; b=4mAmEfEkV/JHr9JPiyyISiOvQDPymbBP+MFKDZDPRiTrO1YEbaSfjRusVfGcbftwwF6l 88eznieJ7g838mz+vjInkVfO3tKgCzF0v3w6yhkjhkMPtcNGHq/ZjABfFAjk/jwidTHHO DBcTY3hTtYvTV22WN+OP2fFXC+sH98sbpYLI/sH+vFIYk6EvPPna5eI5D5JrwSfP1F/zv 9bYxAvTjj0lJt9ZIv3zF6sP70nF+AB/9RlNM92/YR7vGEW+3VePVHrRWAKBWxzTyUSxy5 B8cVgv6xQkzh5zCJA4YTvp1VEQs0do6woPbPKn8RiM+jcahmBa9KrsDuGspYhXJA1fQ== X-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 X-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 13018606A31C; Thu, 26 Nov 2026 07:47:46 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 13018606A31C X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strlen.de X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=strlen.de X-Received: by Chamillionaire.breakpoint.cc (Postfix, from userid 1003) id 97B7860218; Thu, 26 Nov 2026 08:47:44 +0100 (CET) X-Cc: theodorlarionov@gmail.com, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, pablo@netfilter.org, phil@nwl.cc, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <179567851468.3135.1445286719198754408@kernel.org>