Article View: linux.kernel.netdev
Article #19476Re: [REGRESSION] netfilter: flowtable: XMIT_NEIGH flows sent to 00:00:00:00:00:00 once the next hop's neighbour entry is gone
From: Pablo Neira Ayuso
Date: Fri, 20 Nov 2026 00:16
Date: Fri, 20 Nov 2026 00:16
19 lines
9428 bytes
9428 bytes
On Thu, Nov 12, 2026 at 09:08:27AM +0000, John wrote: > Hi Pablo, Thorsten, > > Thorsten: I first saw this on 6.18.60 and have reproduced it on > 6.18.62 and v7.4-rc2. 6.18.63 has the same nf_flow_table_ip.c. > b5964aac51e0 came into 6.18.y with 6.18.45, the release named in > the thread you linked. > > Pablo: on 7.4-rc2 your patch stops the black hole, but as you > noticed, one packet is still lost each time the next hop's entry > goes away, which with neighbour GC happens about every 75 s on a > long-lived flow. 6.18.44, before b5964aac51e0, lost nothing in > the same tests. On 6.18.y the patch only works together with > 871df5007eda. For the record, I posted these series to address this issue: https://lore.kernel.org/netfilter-devel/20261119090736.3342541-1-pablo@netfilter.org/T/
Technical Details
Message-ID:
<av-RdjXsq4IXsnMg@chamomile>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-367449-linux-kernel-netdev=dewy.ruReferences:
<MAEpYNlWKRd7lM0j62YlEZ97Ux1h5AyjSuFRm4Lxk2Q6haeDGTKqX8lpDRZ8slvBu6qA7Bbt18zpr9fyF_jArrEemTgRqzqluxmsGH7UcFk=@protonmail.com> <avSIBUcLH4kZyISX@chamomile> <avTngTkNKE5ApQW8@chamomile> <LCJrB-Fde--T9NiYx2QfFb-X-9W-vsYYmtmrHwIKuKgM8enKRWF2DYypz2_zJKSKQBMUdb9sS6xMEfPihv1YO2FLjX1OUN-Td3Hq1eAdLgw=@protonmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-367449-linux-kernel-netdev=dewy.ru From: pablo@netfilter.org (Pablo Neira Ayuso) Newsgroups: linux.kernel.netdev Subject: Re: [REGRESSION] netfilter: flowtable: XMIT_NEIGH flows sent to 00:00:00:00:00:00 once the next hop's neighbour entry is gone Date: Fri, 20 Nov 2026 01:16:54 +0100 Organization: Usenet Network Message-ID: <av-RdjXsq4IXsnMg@chamomile> References: <MAEpYNlWKRd7lM0j62YlEZ97Ux1h5AyjSuFRm4Lxk2Q6haeDGTKqX8lpDRZ8slvBu6qA7Bbt18zpr9fyF_jArrEemTgRqzqluxmsGH7UcFk=@protonmail.com> <avSIBUcLH4kZyISX@chamomile> <avTngTkNKE5ApQW8@chamomile> <LCJrB-Fde--T9NiYx2QfFb-X-9W-vsYYmtmrHwIKuKgM8enKRWF2DYypz2_zJKSKQBMUdb9sS6xMEfPihv1YO2FLjX1OUN-Td3Hq1eAdLgw=@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Injection-Info: usenet.network; logging-data="3018136"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:PGAApCO5ehgeQTISvt12Q7M0YPE= sha256:V03bYVOWXkveAedc/NCmJgtvXUVD8rXWdZ4Ouk6HuWw= sha1:77sfyN41S2y5OsKikwQQGSjqn1g= sha256:85tqigyI34q0pd2I+i/HOaHAGEMjZqjyWt4zolX5eKo= 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 CF98D115815; Fri, 20 Nov 2026 03:17:16 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.151 X-Spam-Status: No, score=-3.151 tagged_above=-9999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=netfilter.org 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 U_ZVfuoMnaUr; Fri, 20 Nov 2026 03:17:13 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-367449-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=netfilter.org X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id D5FF6115812; Fri, 20 Nov 2026 03:17:03 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id 620706C23C8; Fri, 20 Nov 2026 00:17:03 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=fail; t=1795133821; b=iwmr3aJTjOLD8WypdHTOmV3d54/vDML3pmc2B/5hFCpGJ9JASb+Bbmk1uMxKg2pigfVW roQfxOLfYASVEuMS2GYYHPUNmhiorTC3RIVr0QSQyxk95QwokhsxEaU97Geg8YekwwkP5 1PNV6Qvnl/H1vRj9llJ2yKnM+erLeHjP416ISWnwdsRAcUeRqTi2WDlO8/F8wkSJD34HE 1X8BM/32Ix4e41Wg3dGgDT42BOe34MXhuq35jg7PA269oAOVeeg/QVOaC/25wyAwxLlP2 wg3KlnVL6oJnHvsAHpsbWFnIPWLH+ZLIMA5df9Rj/MsxzBeHrXBVBZ8clBmQYwoqClg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795133821; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature: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=UaidrchdsiA6ina6W5vc78SK6thsHus4W9FFXBWLfs8=; b=4lkz6nfZiDpr5qUEfvZ38dDvISfcIGQggFT9zwJuYoMla2J1GzNRu5PYA3SRVMfJ+R0l mz9OsTDVOJSGHP3Dzhy+mWG4WkzfTZCY+/XQu7XehrjAMLNDXspoD9vAt9d5cJEuQrZoI gBB0+73b6tQlUoN3eW8JnSi5nnzjEdGz1w41oWCHicx3aAw/8s2veChHauvKPlTQyHYtq GBdeRNYeyF0O53NeB0uJtNOg9GGySdkf4tDs4kiFK1SWMSou0a7cl15bkxntQ/jqGg9YN OFm7MZX2oiUSpfnUItcZ/KbDVqk73fHf2nbOxsRqq7QhrONrQ80yKs9eQ2+jJ/aCgQw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=netfilter.org header.i=@netfilter.org header.a=rsa-sha256 header.s=2025 header.b="Kw/m1nn5"; dmarc=none header.from=netfilter.org; spf=pass smtp.mailfrom=netfilter.org; arc=fail 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 BAF2B606A336; Fri, 20 Nov 2026 00:17:01 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=netfilter.org header.i=@netfilter.org header.a=rsa-sha256 header.s=2025 header.b=Kw/m1nn5 X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=217.70.190.124 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795133820; b=Id6FGl9jmphBZl2HAOif7T379dzooOfLGUYGhmu+UyVCjY2B9siCO8T93cAIx4JrLr7T yv0YSjDsIG8KcpNErCpQlBqzk4h2mnbnlIIMNe+vVTHbGSgG0BjoiAvY2cUgthGRodJYA z7qlDohi4ft6/r4ZtmThkHihqMHAvapbUGPDdi5c2jlEM3LFs6+sv3dTcjOtZydRG0Bwq 5P4gEmYmFMyMmQd+9Wcf56ctWcPUOxcLx8gBff3qLEILiP5sUkD7YryCbX7+PoQke6n7H g39jRIGcpH1KhkfOP0Zel9HBpBrbMZ5A6NBg8KcoJo6eWvl4TNOk9nqSXAtyqdl7LbA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795133820; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To:X-Spam-Status:X-Spam-Checker-Version; bh=UaidrchdsiA6ina6W5vc78SK6thsHus4W9FFXBWLfs8=; b=HnGqs8h1SguEhhixdAgukH9PHcMKg6//PE8JsWJfLL56RHybxuY/cMMIHoCzCyV042oW b/ltdj2XIMV6Y5hAhJg28L1yeinz7rminM5CxRDxDQ748S8a5MPvJIs+GSiA/nYauZJ9s oH9EKN2jOrK82nQVVa0qExxRWDIri3wEfrBAMEv2M4jtn8V3co230i8Kl7rkRD39SyyI1 DRzqpxSFI+OJTApooZQCObc9F2vrljJ+sQIxVj7eGQMwJCukAObCdkHk6BjT5FftWCRDg o/fu35Azk0FREB2oXtFi44tHqnuiupcw1r6mKw6cBLBCW7MPURow3O0JvfzRmvYOuyA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=netfilter.org; spf=pass smtp.mailfrom=netfilter.org; dkim=pass header.d=netfilter.org header.i=@netfilter.org header.a=rsa-sha256 header.s=2025 header.b="Kw/m1nn5"; arc=none smtp.remote-ip=217.70.190.124 X-Received: from mail.netfilter.org (mail.netfilter.org [217.70.190.124]) (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 UTF8SMTPS id C32BE606A320; Fri, 20 Nov 2026 00:16:59 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C32BE606A320 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=netfilter.org X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=netfilter.org X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netfilter.org; s=2025; t=1795133817; bh=UaidrchdsiA6ina6W5vc78SK6thsHus4W9FFXBWLfs8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Kw/m1nn5uPO8sIjJtDnbS9vwZHOGeIIyv6jCAiZjfZqcMs9PfYN0Zu84MZXhXI2+l 8VY2fpe/BgeMC2D+MZEFbir2yWm+v0rTo4/3r0ecDW8tCKVyarMELnpgMCZOnIt3kW 0iYb+WIwvuljtEN2W9tGCMGiVvpGo9Rp1mZqoLP1NmdhuD5B8A0xzwCUrx/R8Z1lYj 2pUcV72PNAgpMT77gSurAASzXvF0y1S1qXFEhcejdrmPsoEKBQYqpWtkJtNhK7CRSh T5WLE+NXOlfccAXSaHScs/X0au7VjVj86t/zTFVF+mRbdXcOsDPj421JZ4djs9x8MW t02UNDfBy259Q== X-Received: from netfilter.org (mail-agni [217.70.190.124]) by mail.netfilter.org (Postfix) with UTF8SMTPSA id 52D17601C8; Fri, 20 Nov 2026 01:16:57 +0100 (CET) X-Cc: "netfilter-devel@vger.kernel.org" <netfilter-devel@vger.kernel.org>, Florian Westphal <fw@strlen.de>, Phil Sutter <phil@nwl.cc>, "coreteam@netfilter.org" <coreteam@netfilter.org>, "netdev@vger.kernel.org" <netdev@vger.kernel.org>, "regressions@lists.linux.dev" <regressions@lists.linux.dev> 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: <LCJrB-Fde--T9NiYx2QfFb-X-9W-vsYYmtmrHwIKuKgM8enKRWF2DYypz2_zJKSKQBMUdb9sS6xMEfPihv1YO2FLjX1OUN-Td3Hq1eAdLgw=@protonmail.com>