Article View: linux.kernel.netdev
Article #14344Re: [PATCH v2 net] tcp: do not resurrect a former listener with SO_ATTACH_REUSEPORT_[CE]BPF
From: patchwork-bot+netdevbpf
Date: Wed, 11 Nov 2026 00:50
Date: Wed, 11 Nov 2026 00:50
26 lines
8773 bytes
8773 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 6 Nov 2026 09:42:59 +0100 you wrote:
> After listen() + shutdown(), a TCP socket is moved to the closed
> section of its reuseport group, while TCP_NEW_SYN_RECV requests
> can still reference it as rsk_listener.
>
> If SO_ATTACH_REUSEPORT_[CE]BPF is then used on this socket,
> reuseport_attach_prog() calls reuseport_alloc(), which resurrects
> it into the listening section of a new group, even though the
> socket is still in TCP_CLOSE.
>
> [...]
Here is the summary with links:
- [v2,net] tcp: do not resurrect a former listener with SO_ATTACH_REUSEPORT_[CE]BPF
https://git.kernel.org/netdev/net/c/8c011697f76a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179435820792.142717.4771746266504404621.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360779-linux-kernel-netdev=dewy.ruReferences:
<20261106084300.2029567-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!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360779-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v2 net] tcp: do not resurrect a former listener with SO_ATTACH_REUSEPORT_[CE]BPF Date: Wed, 11 Nov 2026 00:50:07 +0000 Organization: Usenet Network Message-ID: <179435820792.142717.4771746266504404621.git-patchwork-notify@kernel.org> References: <20261106084300.2029567-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="742467"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:FGBe58smIy7aIKquDiW10r6FkoM= sha256:coQcAdNgBGs29Coh+Wtvbo4guSliYLa6TfgOWfAcMS8= sha1:l4ILgO7nhHvZuPUH+FJUvx4Va+U= sha256:ERlyxSZwn4OjHGlpVEA2pqRfAWBVPWH8FvWO17o8GSs= 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 0716C113DED; Wed, 11 Nov 2026 03:51:07 +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 2M7fJUcwmD3o; Wed, 11 Nov 2026 03:51:02 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-360779-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 938C7113DD8; Wed, 11 Nov 2026 03:50:54 +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 EAF4C80356; Wed, 11 Nov 2026 00:50:15 +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=1794358210; b=rtQ8UmDFkz3elm9iY7NfDoGYZqfSSwHfRgtUwM+Npi4yuWvaFlYob9nHmWAbOrutVDUO aIibUhaBBnqIyBKgmhDY3CudaDRR3ywscMJT7rASYiYjo4ssj6FZCPBS704FAZ5ZpSHe0 13iumj7Yu8snlsn/ZIM7LIGzmpGIpUSJzpfZkhl3zfzimQvNk5vKLtxzW911LbH2VuhAW zC2Q7rNo6OrdVuN94eeoMz7QoYuN+8DFizhUgVcjKa3PfKnREJrmzKjFfuvtF5+3zoZUp XWJuxQvNi9aJuv4PYI41K5yk0UHirgwcQ+/WE8yZjNDdoknWkxvwaGB0vY4bHa1665Q== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794358210; 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=Ha5Smbb98YkJ0rW+4V5BnLFoJAhpoEPnEkudR7DQLks=; b=U8QaT4P/EEB8bSI66EoVHdgZZycWNI2UtO2uWXT2go0GXKKxkhBKdR0nmXxumCc7e8Z8 IltvOkBSlfljYy+ElP5Yn/RtHyEVHWRymRFxbZKkUHPw1SFeVnmvSyzZkEC6g4YD0wROZ BP2t42j7WQBjPLKpqKQlrqguzapAOkF0RQdeKgmGkZmAdqP8fqbod2958UIXy0ZL1ZwUG RrwF/tKpGlNBjrv1VFRtmCGD1EsM6wQMgJ5xLwFIMsrC6Nc6S+ROeuiRiVEWC5cOBVZbr HnurYxiujNBKm+M7GxZadEf1kp7mdZeCte5fKIBhBykC2UdFh3dC0eIsiozeyqG2NBQ== 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=KE13cqiQ; 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 74688606A32E; Wed, 11 Nov 2026 00:50:10 +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=KE13cqiQ 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=1794358209; b=simuY1JUbjSKDBHjyEHoXXS/rVNwxE1xr4XnQ8zOtOP+kPsTigYiKugYDAvKMx/YYuMl 2aSuPdTjMd9sZh1X3o8SLT+O9Pl+YIZfAxwfd2n1PWPlmwuGWq+ywGJzjE+lblLF4P4oN u20t92XA/RCy4rL1/R1Rd3QWLOpGiaJknPfoUekr/PrJ7rZjUrutEaWCYdvt6sNpZ8UcP q9eN2LYucAkEuB1SPvDyqzPO1d1rIcyhCiLCmMfyzEWWnPaevXgDCy7qwScr/4n09YCMr m2Xof03WpA72LmqUaO8quvR5KmW4mVOK5q/xKM/4XpreyaBKUI4Fw1TcSX7aWsEcOeg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794358209; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=Ha5Smbb98YkJ0rW+4V5BnLFoJAhpoEPnEkudR7DQLks=; b=BB7//GQZwGa6QW4Qx+AblWHah4A5+h1EPWOln0tGR9zw51isWRTL/lpTtYASuzsOi1P7 WqoZbbrjZ7f+Fr9J47wysgoC+/iw13gICMW1MZFnP852bFQmzuj5+UmDKLqsYmYGCc7Kc y43OmXLHaSoOhM2kzfqZSluU3tBkK8altoIflN0EnoMedIGdeIgoP93QYfKw7FMjjjmtr o/Ra6x9zypFLzE0FkmCT8pSjceL72XbcMhOlISMQ6YnNesW1+hT1v4vDMeUj8n1fY7lcA OBfUuhOdlCRh4Ky5McbP9qntHi9YKYBJf08wqk0q+1rri3Ovg98jGrtFbdgnGBAf0/Q== 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=KE13cqiQ; 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 9105560A2602 for <netdev@vger.kernel.org>; Wed, 11 Nov 2026 00:50:09 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66FE91F00A07; Wed, 11 Nov 2026 00:50:09 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794358209; bh=Ha5Smbb98YkJ0rW+4V5BnLFoJAhpoEPnEkudR7DQLks=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=KE13cqiQKvrNjNLPK3NE8c/3eOJKYUJGEA07PEX2xQTmZdQK7OkQNrdXEqZ3+ZbYl ucpJF7H6Dyql8ExJg95ySGl7mBpPjcgQIpde+oZ7Lxke+3zRqp+LbJBtzayvt9QkY2 bIwkpo2EN8V1EmiyIuwRt1QvRinA+19OKtTp+qmX+TFL5QhQK1CHzgR7ZOIU/AASLR /PoD00kgn9ijSe0VezSZOitZOq3tg6E7lBKOFDTnrNpQJpOAaPfopOHXtTkrO4pNJJ nEi4kTzuDIxCVSL2yEU2B63M8v4MZy5PTQ4cbGguYEAE2nknOziHzsH2yJyjPv7ZqS Qkl9fKOR1nKgg== 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 5DF9F39E8A55; Wed, 11 Nov 2026 00:50:09 +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: <20261106084300.2029567-1-edumazet@kernel.org> X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, kuniyu@google.com, willemb@google.com, horms@kernel.org, netdev@vger.kernel.org, kylebot@openai.com, jiayuan.chen@linux.dev