Article View: linux.kernel.netdev
Article #6250Re: [PATCH net] pppoe: delete session hash entries by pointer match
From: patchwork-bot+netdevbpf
Date: Thu, 22 Oct 2026 00:30
Date: Thu, 22 Oct 2026 00:30
27 lines
8900 bytes
8900 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 20 Oct 2026 17:21:11 +0800 you wrote:
> pppoe_connect() copies the requested PPPoE address to a socket before
> attempting to insert the socket into the session hash table. If the
> tuple already exists, __set_item() returns -EALREADY, but the copied
> address and ifindex remain set on the failed socket.
>
> Closing that socket then deletes the existing socket's hash entry
> through pppoe_release(), preventing it from receiving further session
> traffic. An unprivileged process in the same network namespace can
> trigger this through a duplicate connection attempt.
>
> [...]
Here is the summary with links:
- [net] pppoe: delete session hash entries by pointer match
https://git.kernel.org/netdev/net/c/b5b8c81836e2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179262901348.1378903.6285875327252867524.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-350321-linux-kernel-netdev=dewy.ruReferences:
<20261020092118.47416-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-350321-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] pppoe: delete session hash entries by pointer match Date: Thu, 22 Oct 2026 00:30:13 +0000 Organization: Usenet Network Message-ID: <179262901348.1378903.6285875327252867524.git-patchwork-notify@kernel.org> References: <20261020092118.47416-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="96261"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:OiqOz3yaLjbKsGA4E0vPH+pW3G0= sha256:gKOnXVPf3luLzcRjHeKGF7Nahvkfi80Pp4KqnWLpuwM= sha1:auL3gf8sXaqMg8XQmbU32IbfNqM= sha256:iHu5IG7vaKLubVFYCKedUUlDol9C2gEDVaGbdKjghnU= 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 7E10211116B; Thu, 22 Oct 2026 03:34:36 +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 mpkHaS9VkVPw; Thu, 22 Oct 2026 03:34:33 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-350321-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 6005D111169; Thu, 22 Oct 2026 03:34:24 +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 A9282405C9; Thu, 22 Oct 2026 00:30:23 +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=1792629021; b=sFAS5zrCyubdrx4vDycwxT81QBy0XSxqYTDF+KmOiiY8vtnOy6jxDQGdjOSGMxPDPW1m slc5QGbZg2gBMR7IK8pH50osEaE+N9EuT+cinH1d2B+KyfR9Cu+eEmlcsfKrGkLHRwa5W b/9BplbyTmS69jrMvW9U3JzodRhRQRhenMXXF1OkjSL9aM6ywOmJwewANc85u3KFMkRz7 1aeeeyhRiBVZvVONpF8+UI7EAZ352YhzWz1P7eJK9rkw9LcMINwg3vM5OT5wBuDHXaiW8 g/e/pEWNJO4O8yIcHQ1x1LrB7HcAhMtRfdLGkntYxXqIOi9dQkNkylqcaPAwWU9P0jw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792629021; 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=3mJzhrpoxuYrCmmHFAca45B8JBZuEIGuuX3tUAue25w=; b=pIIbQ2jfomP2OcWP6Dl4W5Xc2hC1lwzD8Yia47cNF4SmH2fjvZuRvx4sZXkq92Z+5u5b nxCtig6xQXcwGvBV+ZvEo9i84AIuTHZ3yg0mL3GgE2y7KAgPvTlzPCZFhkb6oQDXUgKoY SYPez5GUWvFF1l8CFX3Wc8qpxp93H2Rm9qRdeeGO79ivwOGXOxLBOkdCUNLrtJc8CP02I MTdCdWF23w0ULlreYavDZSFHzouFijbOcuBoPQMZDgbAAqVaC4HIktrGcaw6UnVJxmCXb b9vdpTZogRGZ7P0bcfW26UecI1uSTj3yIM1fbiy7BCc/sD50ol7LT8FCIZ+esm8vcbA== 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=HkLWnI79; 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 88DD860A2606; Thu, 22 Oct 2026 00:30:21 +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=HkLWnI79 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=1792629015; b=xLAWnUduyo6tF69VjcMiCbWZ/eLQnOVeMdO8tV7bO0TzkSsY+mQuhf45751hjJHam1vy 0L2Pc1TL2BuInRBCaFUz0NV1pLU1qE1d+eLA367QHVybT8OLbyk/EwS1Q/EgnXH35WvtC 4zlZw9WPUGVkYMN4c8w2xy+hrsTo3rUF8L9hk6lWkVX2u2qBmJ4m5i3cfE6zgawr37fqq LQKOxNnTwwklCN2+1StnetHQxHIg+qcUfdx2nNfOog6K/Pi/qDrtxA0sn0K7gU5U2YIHU 1O0imlpuySHDHLD7LAj5UjPHzGEAigkHKGNf+s56IobfXlHqktwEfx7HWJWsDvj/+Jw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792629015; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=3mJzhrpoxuYrCmmHFAca45B8JBZuEIGuuX3tUAue25w=; b=AQZc1KyJTHGRJ9NRBHmGlM+M8NDDZjM1nId/0gEk7Y4k7sXX9Kg+j365T6PIYSjPIZ+o bJqlAebmtRpXTxfqdS7Ke/bd0sylfR3i7yPT33SYr+if/ehIsnJi2fLEYo4R9gjWYs89g lfiJUDSViMBVbQqMuFAn4+xuvCRl0k/lEXbQmAFTglDS02KEJxY0ojFhRMl3KOojyhQr6 ByFSE4SBQHD3eWbWO+ewfKzxowlKZg1+R+R10jQFEDRcaOEVhz3fKHBdrL8fO2u1NsFJE kEhba0f/GrSkssy1rESLCC5JB4DBybYByJmdYaP226SQPu6mlZ/wOtswtaui6yLnAvA== 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=HkLWnI79; 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 6B7CD606A327; Thu, 22 Oct 2026 00:30:15 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 06E8E1F000C1; Thu, 22 Oct 2026 00:30:15 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792629015; bh=3mJzhrpoxuYrCmmHFAca45B8JBZuEIGuuX3tUAue25w=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=HkLWnI79onTJmrX11iYHjKPBesf/qdh667Qd26q0HmwkwmQ0T+S1WE1MtGO9EEvUC JpKkBLPGiRBghm3U5cy1jJ0UoueVLHDEehor59RQ0wai6LJz7vcWWpiS94ajUkaj2D qB7Ej0f/cI1s1cDxOh6KfQDWeEvSfQyojXEfeXpJM+zlt+NNrx3AMMCqq7cqKwm58r EHx/hi7qV1m5wU/8SD+STMKaGaj3r/Ih5/xaoP7r4ch5bcARY4rPnrmWprjWBaMT3t tlwul6FmRCokTV06wYrHCNOf91JGh5aqVgAwcWLyGOIDcVlZN/sdymvKSCrGjeJY3A 9pDel8g7fV6NA== 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 F147A380A963; Thu, 22 Oct 2026 00:30:14 +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: <20261020092118.47416-1-qingfang.deng@linux.dev> X-Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, kees@kernel.org, horms@kernel.org, manizada@pm.me, ericwouds@gmail.com, nbd@nbd.name, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org