Article View: linux.kernel.netdev
Article #7875Re: [PATCH net v2] pppoe: wait for RCU readers before reusing a socket
From: patchwork-bot+netdevbpf
Date: Tue, 27 Oct 2026 11:20
Date: Tue, 27 Oct 2026 11:20
27 lines
8922 bytes
8922 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Mon, 26 Oct 2026 14:12:58 +0800 you wrote:
> When pppoe_connect() disconnects or reuses a socket, it removes the old
> session from the hash table and resets the socket's fields. An RCU
> reader that reached the entry before it was unlinked can still be using
> its address, ifindex or next pointer.
>
> If sockets A and B share a hash bucket with A preceding B, a concurrent
> __get_item() looking for B can be traversing A when it is removed.
> Clearing A->next then makes the lookup miss B and drop the packet.
> Reinserting A can similarly redirect the reader into another hash chain.
>
> [...]
Here is the summary with links:
- [net,v2] pppoe: wait for RCU readers before reusing a socket
https://git.kernel.org/netdev/net/c/e7b01bc0202a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179310001606.3743855.6417887506256110884.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-352386-linux-kernel-netdev=dewy.ruReferences:
<20261026061300.256009-1-qingfang.deng@linux.dev>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-352386-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v2] pppoe: wait for RCU readers before reusing a socket Date: Tue, 27 Oct 2026 11:20:16 +0000 Organization: Usenet Network Message-ID: <179310001606.3743855.6417887506256110884.git-patchwork-notify@kernel.org> References: <20261026061300.256009-1-qingfang.deng@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1521765"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:sYe3xeLf92Lc2O+FibPPiDHzU4k= sha256:JQ/1SeeZJ21mdbvLm6iiU3vnvbyQmaKqdNJluAwokPQ= sha1:JCPwV8iPmNGQs3ThxqT/NhIkDwU= sha256:G/IBSj7qSisq7eOS/Drt8G8ZKt6+m2XP8yEr6eC45yk= 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 C7F24125BEE; Tue, 27 Oct 2026 14:27:24 +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 fVUmmfKcM1gb; Tue, 27 Oct 2026 14:27:21 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-352386-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 32D19125BE8; Tue, 27 Oct 2026 14:27:13 +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 A8A2426691; Tue, 27 Oct 2026 11:20:25 +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=1793100024; b=Xgl6OHFr6VD4pyrV1IumdX0D2xbyYPCsPaAa00VfJMOzdeC9QxBHb3rT7LlA5W2HSnAT cCIsEdfjYAnzehc6kKQ+LmHjqwO0Lhqws2w/zKW/me22qigIhlJmN/WyjdShw55l4PknU L0ZhrfDb7LIiuGQsHHCsoeBJcmBsqzedzteSl0ydRR6660gTZvvZN71ixl2ag4yeFaVof 0bvvx5RYxyHA8yogcocc5uZpPreNkvoAASsjoHHT8c2YxR20x2a2nreFgWKjMqyUQS97v B0eu09veA9K/2nIACKZqGI7BNx5oGE3K7zvNzcpSFUL0z5EKvsq4Y6UVFXJCLUDUD2Q== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793100024; 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=NPUrP0nMLlCTJtbvP22SrKWOCEW32C1nfkshChSMVTE=; b=5VN7Ou1O3dXWDPBn4IKMVI9VLYcUVAONwlrbF8ibmestVnehCaV4oMeKmMuFhmVVQ6sb zM/OydkG7RH8tnHlPZrTIw32MCMOUiZKAyk9d5K2tknze35I9CJcZOjh5w0XBzqIjVqx1 cP9MpY6jFLQnV4i4XG0DMVMtnBnHUDaYIUotdIA1onvWhnLbS84FsqCKc6He7Dk6EKzBV NZkEemI9weSoGX/b3csDKunWvyDCcfHOXiCtEVXhvqtv1kmBnIqZlu16Eru0qw317ZJZS 4Q8OomBIwTjKCQ9705L6hnrAWGY8r2hbrFFJkD73Ee+rTfQW+2VBvCRbqOuFykyMTJA== 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=I6lZ+ybh; 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 1B033606A323; Tue, 27 Oct 2026 11:20:24 +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=I6lZ+ybh 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=1793100018; b=H9o8hTVcr/TIZe2SMs2kC7S+nJtiw32dtAAsVZ9vD4ji+EWEGsWb63xaR+aDMU7dFaM4 3Y3aURPfIh/EWvMJbliDNBa0QKV115ShedKLuRe3Wkhw9OE/9ooLSkSfh8ORtwH2CFvxl 6vFZsSECXIxofkVDqwTBINMRc9SDUIXjnThuznUSvB9EkMGIvwQHRt/VQQ9GPN9Cqm0SC uCZKqif8vUMfH5n6OxiBH06OeFXnqC5E7+QmPMrcZCec8KyRUTvd9i3UHsB+NSv9z4LdW MO2AX0/8KlpyArCPsKaTXQU0rwN6lBRUXeXJiw4cbuaw9uER8zMkCFl5MPO80uvfgbg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793100018; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=NPUrP0nMLlCTJtbvP22SrKWOCEW32C1nfkshChSMVTE=; b=s1dxZSd3GFpV3V45FfHaDoQFteYL4Zbq/olXRWmqrj8+nkuqwlzwIRMmidYHS3YAU8IV Ue0UuzuDNs8Jmh7z3PoLYayh0+SNOXJWTJgaPiVqTatlzlZ0W+PIOn6K8vnI4r9V3BfJ4 X3uEWdVGMEcdmbIBjLClMRZpiMb5vSknCZ3Z2tRnLS6W+Jf5ZmkNOkWrC/dBrerdw3V93 B8y28+U35lxo8uVBt2QSC9Ylq4g4UFTxJWM0NbwmuczfMLrkcDy6CDfx23vq9GOKbs+u8 xdCEpozfs/OL6wqaPl8yUgZ68Gj4SG4mxitoaxdX/OXidVzLnWgWgJRxNpdko48bYpw== 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=I6lZ+ybh; 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 F05B1606A324; Tue, 27 Oct 2026 11:20:17 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BD451F01825; Tue, 27 Oct 2026 11:20:17 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793100017; bh=NPUrP0nMLlCTJtbvP22SrKWOCEW32C1nfkshChSMVTE=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=I6lZ+ybh/3jBGmuXL0o15T5AhbMmmVT/u+dejYVcMKimc7bXXWnVkIVRFrXTRbOgF fm5c7u4xnnM1negW7Fl/Qdp3l6EZFyTBgGOVp6nSPplgBbtqPHBFzLZWk3xBsloUjj TBVXMvYf9Apr92m/O8SKJ4e/xm6L0HR9fEt79omN4NVBVpsz6Kxu2i7uLbYAUsTq+n IW47tOGSSWhqsbc5+Ix8J5few4QV65MeV449zDvGflT4PUHbfvV52qwG1eR+BR1egm dnpx8tLpO5lWvcQr0R5PqQlHU/AnM7VwXRZnHp9h6QfAcsyknejNmQ8gRYdxJqfXxF UWLOe+u52pMyg== 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 815383AA9388; Tue, 27 Oct 2026 11:20:17 +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: <20261026061300.256009-1-qingfang.deng@linux.dev> X-Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, arnd@arndb.de, gnault@redhat.com, nbd@nbd.name, ericwouds@gmail.com, manizada@pm.me, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, sashiko-bot@kernel.org