From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A6052C43458 for ; Mon, 29 Jun 2026 12:56:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=WPie0Gg6b2v2ZP4XO28LvRJOOPs0APl6SWKDvvzSHTw=; b=epZXfw3pPVNBmXjDhqzQN7t2cj 6iF2Rv5zve/zqPr0I7w+6V82Z37fVGBhJ3j0EJNHjrlllmhOKhAl7CCCnPTfObxDz5CzX9fAon0/y 8GJJWCWycjc+PF6w4kfCqJ0+vVjo20mZhDAzMWwm1p2bnFGagXG5zDLuTrfWP2NtdMH4gNQ04NA7D SemcwlxjxtHdWunSzwTlXMOT2OCHIERgJmHli8n5sFaBc92n6DoDofIss0Q3sJ5o1fsbEFCyim5it dgA7ZdFJ3VbwsOcahBevEBAsnQkWT7wr9GA/1imjk/QXT/cn9BpnekWohfweM9CJXjVgXXZ59KjGi ZPOJX9YA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1weBXF-0000000EdhV-1YVU; Mon, 29 Jun 2026 12:56:25 +0000 Received: from chamillionaire.breakpoint.cc ([2a0a:51c0:0:237:300::1]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1weBXC-0000000Edgi-2ZAZ; Mon, 29 Jun 2026 12:56:24 +0000 Received: by Chamillionaire.breakpoint.cc (Postfix, from userid 1003) id C98976032C; Mon, 29 Jun 2026 14:56:16 +0200 (CEST) Date: Mon, 29 Jun 2026 14:56:16 +0200 From: Florian Westphal To: Daniel Pawlik Cc: netfilter-devel@vger.kernel.org, netdev@vger.kernel.org, pablo@netfilter.org, phil@nwl.cc, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, andrew+netdev@lunn.ch, razor@blackwall.org, idosch@nvidia.com, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, bridge@lists.linux.dev, coreteam@netfilter.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, rchen14b@gmail.com, lorenzo@kernel.org Subject: Re: [PATCH 0/5] netfilter: nf_flow_table_path: L2 bridge offload Message-ID: References: <20260629123253.1912621-1-pawlik.dan@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260629123253.1912621-1-pawlik.dan@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260629_055622_788254_18E890DF X-CRM114-Status: UNSURE ( 8.07 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Daniel Pawlik wrote: > ----------------------------- > 1. Load kmod-br-netfilter so that bridged IP traffic traverses the > netfilter forward chain. Ouch. br_netfilter should die. Really. Its a gross hack, never use this thing... > 2. Enable netfilter hooks on the bridge: > echo 1 > /sys/class/net/
/bridge/nf_call_iptables > echo 1 > /sys/class/net/
/bridge/nf_call_ip6tables > > 3. Register bridge member interfaces in the nft flowtable: > table inet filter { > flowtable f { > hook ingress priority filter > devices = { eth0, wlan0 } > } I think that bridge flowtable should use 'table bridge ...', not use the br_netfilter compat hacks. Sorry. Are you aware of Eric Woudstras bridge flowtable patches? https://lore.kernel.org/netfilter-devel/20250408142802.96101-5-ericwouds@gmail.com/