🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #26309

Re: [PATCH nf] netfilter: nf_nat: do not link a conntrack twice into nat_bysource

#26309
From: Florian Westphal
Date: Thu, 03 Dec 2026 11:50
6 lines
7277 bytes
Vimal Agrawal <avimalin@gmail.com> wrote:
> Can you please review this patch?

Sorry for the late reply.  I've applied this to my local tree
and will pass it upstream along with more unconfirmed race fixes.
Technical Details
Message-ID: <axFXbG7KVUxbTHP8@strlen.de>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376530-linux-kernel-netdev=dewy.ru
References: <20261022105943.4003353-1-vimal.agrawal@sophos.com> <CALkUMdSvyg9eOUfsZPy-uvtwdednnavtX3k8BU4mbxYzkr5NhA@mail.gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376530-linux-kernel-netdev=dewy.ru
From: fw@strlen.de (Florian Westphal)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH nf] netfilter: nf_nat: do not link a conntrack twice into
 nat_bysource
Date: Thu, 3 Dec 2026 12:50:04 +0100
Organization: Usenet Network
Message-ID: <axFXbG7KVUxbTHP8@strlen.de>
References: <20261022105943.4003353-1-vimal.agrawal@sophos.com>
 <CALkUMdSvyg9eOUfsZPy-uvtwdednnavtX3k8BU4mbxYzkr5NhA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="2477037"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:1qZTuWwg554nkNcCX0vpc+8a2No= sha256:MN0B/Z8t+RHaERWySKcNIe+bKMP+5Km/IT1U8CdHJvE=
	sha1:4qGIap7zEFirkAmBrANJDDEaBzk= sha256:7xItzeM9WwP+mncwEsxfX731bq9sSxos8wugb1nIC4M=
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 12F891178FB; Thu,  3 Dec 2026 14:50:27 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.199
X-Spam-Status: No, score=-3.199 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001,
	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 I6k46qBvZ2xb;
	Thu,  3 Dec 2026 14:50:24 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-376530-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 50AE91178F2; Thu,  3 Dec 2026 14:50:21 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 8A0D22C504; Thu,  3 Dec 2026 11:50:19 +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=1796298619;
	b=IJ/qwOalDGO32GZCT/jZf6GdunWWs5VmsyaGAr3Xg8HYOhJnPzLCrItjc9SpmiPiNeWr
	 LKTYQQOC2Shb/DEpuZXopPOKQ1bBia4EfYRyJn9/mx67wv78eF4binzK756LzrwJHsu/w
	 4PW7oSIenbcBBeTBCEvyE6UjUM8C6Miu38YMflLvMX8QA6m7/eyMd6WBIRkc8OhdhypXN
	 oY7Jz7EmG2UyEhASEHDAbGAO8bw3wAjvmcfrut8CDJ9RuVT83jHCScTUq56Q4MclHHKsa
	 xVo+lSnv+LND7u8verkZwziLKyF9Hp7EjZ04pITdVEUYcC6cmNB3CruIW4aet1IuEwg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796298619;
	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=1mF6HRu+VAFpub5lzhxrlymMl/6O872eLnQqC9SxQCg=;
	b=Lr1zmwtfu14LpuLIEat/Zx2AX7N9C6oF6tRAXQT9HpcUuAEoo/FAcIbw2jr+PmJ8T1Hp
	 SOIcaZVsBxyYia8SnTkDfZKr073plOdSumYieWY/g78qpmV5Ck0WDtkFv7UyxOvTIvZ9y
	 p/CokhX05XqJA3Cwrc3vZHl0vC1FHeMQPiXnuk+LUAGzjkYr1EED+r38nyKequ7CPMgRC
	 n/p5dBobuyGbqU5i0TtFEY1CGjUceiiOV90KRWc6ZfBTWY8HjnonqBqxektIwxmalseP3
	 wVx2BDkxEpPA8yQb/pdEP85YpV6EOFXyBJDThytIGEJdZ+uDXNDWtQndf6uhzXAcRXQ==
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 61B8A606A333;
	Thu,  3 Dec 2026 11:50:19 +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=1796298613;
	b=UcdLhzqq/9+RfoRNIau0HxsuyKmP/IL4j3UcQui7BwK7RqVl94YDyq78bKzkV9xarhNK
	 8JmK7o0O0PkWQa+RYCvfX82cz+swfk53NB/CDsCHc0XixGJvoagQ/KKOy4LCQna1EO5vp
	 LQKKHSkRqcGxGirL7Al6NlbsGXgzBpXmmls/J3eHBNn3+kaT1+kNOdB65HIVCoSR72sH1
	 oOIzZzOEAYJ4FXHsBpBDSTjbmsPthHOzBweaasxJYoXdXiz6V5atyeBzMBohlzgmkldKd
	 gMIYLjk2MncNRwBSopLb2QfHEBa5g+NAW4wwGfIan0Y0q6RW/7vcnvD8uCqwXCXNBLA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796298613;
	h=DMARC-Filter:Received:Date:From:To:Cc:Subject:Message-ID:References:
	 MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=1mF6HRu+VAFpub5lzhxrlymMl/6O872eLnQqC9SxQCg=;
	b=usQqNUXTWnAgFrOwK+NS+1odt5yJ/EkTdZ7XoswLWpgPubz8nav8bS1qkEvMz7DnSwS6
	 rpnrnGxKwxu4j27vPXb31U7aCoabyGEKLhVYALeE1/O2+PkaPPBkOvEFptVvl02LA3Sue
	 dkx4/c7AaoCHFLVHD5Nxg+V7CMfWamI6rVmvy5GvTy/2XWSpFfAq9cuFBPN3NPVZJ1Ttx
	 VGujk16JStHZln9ahUKYD+O3i0l5EFELNVA/RJHNdwuHb8ud9HjLiQTfeLkxx25NVwGbN
	 LyPPQyWw8kKDhnJndBPEvDJGUAPKAuIUgS2xv+ksCFGh/AqI2CcPhH77rKLuUC4OaPw==
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 CE9F6606A322;
	Thu,  3 Dec 2026 11:50:12 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CE9F6606A322
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 9815360302; Thu, 03 Dec 2026 12:50:10 +0100 (CET)
X-Cc: netfilter-devel@vger.kernel.org, pablo@netfilter.org, phil@nwl.cc,
	coreteam@netfilter.org, netdev@vger.kernel.org,
	Anirudh Gupta <anirudh.gupta@sophos.com>,
	Vimal Agrawal <vimal.agrawal@sophos.com>
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: <CALkUMdSvyg9eOUfsZPy-uvtwdednnavtX3k8BU4mbxYzkr5NhA@mail.gmail.com>