🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #19578

Re: [PATCH net-next] net/packet: wait for a single RCU grace period in packet_release()

#19578
From: patchwork-bot+netdevbpf
Date: Fri, 20 Nov 2026 03:20
26 lines
8777 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 18 Nov 2026 22:14:39 +0100 you wrote:
> Closing an AF_PACKET socket waits for one RCU grace period per ring
> in packet_set_ring(), then for another one at the end of
> packet_release(). A socket with an rx ring (libpcap, tcpdump) pays for
> two grace periods, a socket with both rx and tx rings for three.
> 
> All the RCU unpublishing is done at the beginning of packet_release(),
> when unregister_prot_hook() removes the socket from the ptype lists or
> from its fanout group. Nothing is unpublished after that point:
> 
> [...]

Here is the summary with links:
  - [net-next] net/packet: wait for a single RCU grace period in packet_release()
    https://git.kernel.org/netdev/net-next/c/2208ab00f4f2

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179514481252.4002121.7167185361157860861.git-patchwork-notify@kernel.org>
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-367596-linux-kernel-netdev=dewy.ru
References: <20261118211439.1453635-1-edumazet@kernel.org>

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-367596-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next] net/packet: wait for a single RCU grace period
 in
 packet_release()
Date: Fri, 20 Nov 2026 03:20:12 +0000
Organization: Usenet Network
Message-ID: <179514481252.4002121.7167185361157860861.git-patchwork-notify@kernel.org>
References: <20261118211439.1453635-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="3048503"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:BnJJaq/fIJgxBAvL7AAiNE6jT8k= sha256:L5+NQY2f7NRn+l6xXtjVgg8QlPWeRdtVCVfed9VP8Nw=
	sha1:CGSWi2daE7076poEGOLUUM37er4= sha256:dQf/9ebGaaYhJYuB/bdYzCsl6lX7qbVGcQCZE0jbiN8=
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 61E68115884; Fri, 20 Nov 2026 06:20:34 +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 PHoIeRcTQ2Zh;
	Fri, 20 Nov 2026 06:20:30 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-367596-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 7FD04115881; Fri, 20 Nov 2026 06:20:22 +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 5A25F124503; Fri, 20 Nov 2026 03:20: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=1795144815;
	b=plMOSStkxG+nG13Ziy8e2BJ4jq2BlNgVuir7ropaQ11hokyMqF5ydDEveIX8GSh5FO8M
	 3nrppCBUYSVIStsi/IRmi7VNOlY+u9gj1oTwu759Nrzc7tUkxQSSGY8Hcmkx01MvOsrDB
	 sBjPcQ0IqklWWiMloN+Re19ii06Qh7zWT2QcI1e5RgzQDKAcMzr2y6DCIZ8VqRQ/CEO9O
	 CvGB1INLHgSzlGUqvsWh7gBJkvd/bPKky3zHUEZFfRrHI7OzMDM5ZkSIwDcTjQy2yeJLF
	 64T0nX/YBDS0/C+ke3u6SqWhsOH7lcudatuqpL6SkAZjJ6AgXw5BaQrMmNU7eIunTww==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795144815;
	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=Fn14pDsJOXNYBR0Hx6ngL3nO3uLg8RV/4h744OUD760=;
	b=0kwyMtJS88qTz0Z4UZdN4k/YodP00PQi9FhQdPPlf8AQtXyE4L7Wx5LWibsnWoql17+A
	 0rkul1l+mhOo2M1TEU9u2kSa1VGHVECODHqq7nCAGA5oFKnbxTNAsn8V2MUQ4NscL6aFb
	 4x9BK5CcL27KrC1oigkUx54O7UNA8HCkQesho1VoscYTNaOjEvF3a9wMcVzzaQG9GhQaI
	 dXX0R6PXyi5e6HJnady2JpP4d3X6KZzWCAarFtZwM8A0E8zsZhECHRTXfeNU68ZY9GAQ3
	 pToatuJxbez/5vF/dXeYQX7T7E5pgot58ystE0548H0og1jikNILMbEAxuOJ/SxJKPw==
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=MAYywufS;
	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 9C5CF60A2616;
	Fri, 20 Nov 2026 03:20:15 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=MAYywufS
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=1795144814;
	b=RXfZ+ZvqZXtC4/eXH5phBcRntWcsQPe9ARZIushovQnBsvKIy8OTdjThJ5O266jcCE01
	 R4XCQ36bVOcpjJyzBiHxVXy4f4QJKM9Q0DcKXhzSOWJowzuurxg7XGDoEewgaZek7XGEu
	 Dugdj4iC0xYMWfV6ApODOhJ3dwjmoUlxORaTF1jWmp3mfz3FQ1yO28ZUjkYIIDPy9EIfZ
	 ekbZqk3/502+l9ZS8dG8349ApfixIXruRQH10c9VKyNZiBybxSRhij0dK6ZjJoqgBjxVg
	 198DWJhhbyUAuatFZj+U2UR/niMqhwGg4fffBxHY5k4Y2TlL2MDEjrACB2NP3VlQpOA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795144814;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=Fn14pDsJOXNYBR0Hx6ngL3nO3uLg8RV/4h744OUD760=;
	b=oSwOyzThPXx8aSbfUJuCRUOI+qMJ7nJCzXIRMWh2EMQP+OxFvuhVr1ds3tOhM0BxbYfv
	 Mi7lpzRMrXZg7cVNP2xVEoUCppVur4h2HNLE3MFf0kp1wNyz1iuWpuO14Kb7+IlFsYNTa
	 HMb0cmJf62gBsgclZWIDMWO8ySFNjn6FdF/aDrH1euRuzIOh8A40K+SVHIZnhxOaq5arA
	 fgkhLhNIELp2aFRsOovX81/XLcjl0dDf2SyqY+vqrhiA6PZ4mK2huwzGChR+WbZv3SPQz
	 6SrLGiuQoEhJ9EOnOBOg4hcAAjT6ufrNxnmxH7snTZ1ZXjgt3ZEj3Ogniz7vEubm8LA==
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=MAYywufS;
	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 BA70F60A2625
	for <netdev@vger.kernel.org>; Fri, 20 Nov 2026 03:20:14 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04F631F000C4;
	Fri, 20 Nov 2026 03:20:14 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795144814;
	bh=Fn14pDsJOXNYBR0Hx6ngL3nO3uLg8RV/4h744OUD760=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=MAYywufS9MQgnywlry9u6bOvxxIFA+71OAu5P2NQg2AiKnpCbRn6OoZGINN0WqIwk
	 uB73R2XccVXGVkJr43zN3c34PjQM59vCtWtn7Nnf/PLN+0OZ8m2DXjhFaUDq+Uham3
	 nDGgQvfSxHMv5txWWcOWC20jlPNIHFK/2YSnSdioAgVd5Jf9ksSb1Eb5t2wDONRdWU
	 o+pIgiZbRVMDvEUujSJZ0G/c/FqnnLHk2WhYR+oUHtVvkfAG11U1H1jCPBao6hBgNI
	 /jl3MHcHmFF904KPmGGs7XEBIetclQ8tNodXCm5OLfGeyk+27MrnaDiKogHBayZ+Dv
	 tD8N+8rtQcq5g==
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 F15503808209;
	Fri, 20 Nov 2026 03:20:13 +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: <20261118211439.1453635-1-edumazet@kernel.org>
X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com,
 willemb@google.com, horms@kernel.org, netdev@vger.kernel.org