🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #10481

Re: [PATCH v2 net] tcp: wait for TIME_WAIT teardown before freeing per-netns ehash

#10481
From: patchwork-bot+netdevbpf
Date: Tue, 03 Nov 2026 15:00
26 lines
8816 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Fri, 30 Oct 2026 08:58:43 +0100 you wrote:
> From: Kyle Zeng <kylebot@openai.com>
> 
> inet_twsk_kill() removes a TIME_WAIT socket from the established hash
> before it finishes using the ehash lock, hashinfo and bind tables, and
> before it drops the death-row reference. A running timer can therefore
> unhash its socket before inet_twsk_purge() reaches it. The purge cannot
> synchronize with that timer, and tcp_sk_exit_batch() can free the
> private ehash and hashinfo while inet_twsk_kill() is still using them.
> 
> [...]

Here is the summary with links:
  - [v2,net] tcp: wait for TIME_WAIT teardown before freeing per-netns ehash
    https://git.kernel.org/netdev/net/c/647b81ddefc6

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179371800529.1198064.9879042623576764067.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355757-linux-kernel-netdev=dewy.ru
References: <20261030075843.2567707-1-edumazet@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355757-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH v2 net] tcp: wait for TIME_WAIT teardown before freeing
 per-netns ehash
Date: Tue, 03 Nov 2026 15:00:05 +0000
Organization: Usenet Network
Message-ID: <179371800529.1198064.9879042623576764067.git-patchwork-notify@kernel.org>
References: <20261030075843.2567707-1-edumazet@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3195374"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:EyvUmF8HkFehBPQ0R9z3ABgHjdU= sha256:ZJaEKMzwh0Qq7AD9N0bMGbPipGJ84rmQlwi8erS5X8s=
	sha1:4y4Ey/CVjU9O2WAEOGDIBc5HsVY= sha256:t/YDreVPGHL8MCkzp8gE6f2n76Aeayi4zYuO7Yit3Vc=
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 1807611291A; Tue,  3 Nov 2026 18:13:23 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	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=kernel.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 FOQPQiJGCMrJ;
	Tue,  3 Nov 2026 18:13:19 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-355757-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 7C051112915; Tue,  3 Nov 2026 18:13:11 +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 A5497A10AE; Tue,  3 Nov 2026 15:05:28 +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=1793718008;
	b=Hy1+PlQS0NLjGUQ4JBIzteWYA1o7DoNG7s4KG8/Pf9aS6kZAkQeVU1hL2IcnT3+2+uKd
	 7uPmIXQqUNLfmDGG/l5rGjvt2zUyJEnhAcuZUpTG14+C6pR/dYDaJi3192Ch3wYn4OChD
	 +dDZw6tkJ+5JDjWcmfsMoN4sym/lgLSUM97ZgpLV86nhisMYe7O7IKwJu9hrrfiZQ7Q4S
	 3uBhGO/mlpFHcPxn2p2x1imxXgZIJ47h7cdGEBtIVuxehuK13UNN0mUEPIPiG34av/vNQ
	 4q32ZJYSDISlS3fvsD741WuqsgAtShzkh0yx6I78pyZs6z3mtLYX42ocKmHl13xfmwg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793718008;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=qZmVJVY++gB7+dJFa2rdv7ugRYHNUM+bFI1bNN4cS3Q=;
	b=2UfuinBUnqJIBTokkE0yxlAomL6Oi8/oOedwKGObQTpQMpNjrIcuk1osgCGE+CVFbmZV
	 bml8Hygs9hT6v9MFp0FzkAOJ4ZnMKooxYfCFJ0y14vfQoW9Di7If/ketYhRUxfCjYIIg1
	 j6cCC2pO+FHcagi+GuJHyUUbbalBt1D0iAJ0JMnYqk4eD3FZdg9Qfnuj7N3TsgTwdCm+a
	 Uax2HPhoDcyNM31kU+1eTqReLfCVuMldwsLHDaNRI/ax/fSRgPTlI3jdd5kfwW3+mB8Zp
	 ZodMZU2onIc6gPF8U1msqIuLS77titQPrBto/Tte5ibkFD5QQWSPvapawgOTJn4inkQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=QQiTaTIq;
	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 6EFC6606D2E1;
	Tue,  3 Nov 2026 15:00:08 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=QQiTaTIq
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793718007;
	b=l7nxi9e/ZVoA6ETq48DVd4wdsiO0ZEKX9rylvbjepdL8JPYUK1hw58eytzAPvOCshuF2
	 w7wfuqL1SKO7xRG8yJiM3FzASJtdqW3UnaLn0KrqPkGejnWNMsah6ml2lcg6W7iZUPKJf
	 U1fJeYNsTBMZfqvzpJpJDWUemF3grIA1RoYp+5gswH+NloKOxHlscDOUs8cMEk47pi/0D
	 fPDJyuJWOvm3VuA6C8o6pLTfOjLzjdmBAHm8vVnOvT9lAa0Jw5ncBej4o80ZljR6Ba5zV
	 sBk/cazk0UfqH5nviv86COr5KMfChNnj5hJpXInSrYmhz0Q4/dw2yiccsCgo0Iqxx7Q==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793718007;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=qZmVJVY++gB7+dJFa2rdv7ugRYHNUM+bFI1bNN4cS3Q=;
	b=Dc77g3/inQU9jmYoeyNWtDwsTi/WhenQopp9D3rFZ9sR5oa4xA4+J1mFW6hoBh3wxyMj
	 jQ6gUHozAAKoYn73q/uSV3q8/b2J037QgLy32Ch/mCk60t8gLuKA1w7FY+PEMmuIj4bqZ
	 gZFOJizCSzmvVA8u2dZRxUlfQD85kR8rkRm9vX+pVZBwzlNzAlUPljfUY1evXX1ZH3dnV
	 iz0NbvMZiV+qm/PR0FcVbrhXGaDHpHqDJK1e2CVu7ZcW4fZbaWkfrcNeNdILUs2I1sSaI
	 +ovW6WFesDdZQoLE58fkO+p9CLx8wYoJGWYq/TiJ2wrK2/Tg0A6/PFtY/UNtRXux/5w==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=QQiTaTIq;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 519B8606D2DF
	for <netdev@vger.kernel.org>; Tue,  3 Nov 2026 15:00:07 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id CFFC11F00919;
	Tue,  3 Nov 2026 15:00:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793718006;
	bh=qZmVJVY++gB7+dJFa2rdv7ugRYHNUM+bFI1bNN4cS3Q=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=QQiTaTIqmWQY6ypZQUZ/U/NvJ0IFpFDqkg0k8HdmQ2gI/v3V1FQQ6J/xk4LraFlaV
	 f6pa87RpajESBJLS5wwxtkWf9mFYUGvqysEBKjpPk+jtFvI5pPdACMQH8Z0m1s4mCF
	 +aRoJVI4R9UyP12d3KyaFSMo5NiwaoOM+PcKTUESRk0ZM+1Yg0wGdLVrqZPXWrPVcf
	 gdSvoOg9poi23bhCAw+vTT5XxvqrJkp1gjEy64A95er9M7MMVaba9uLWh/ujBBk9ha
	 ZTFlM5GbLi/Af63Xtp5RKBHI+Nd+UhC7vED6uouPYXi1lAs7iK3OnczfDNad+9Az3p
	 7zYVKCV1rVtFw==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id BA32238007D6;
	Tue,  3 Nov 2026 15:00:06 +0000 (UTC)
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: <20261030075843.2567707-1-edumazet@kernel.org>
X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com,
 kuniyu@google.com, ncardwell@google.com, horms@kernel.org,
 netdev@vger.kernel.org, kylebot@openai.com, jiayuan.chen@linux.dev