🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #11389

Re: [PATCH net v2] l2tp: only return sessions of the given tunnel in l2tp_session_get()

#11389
From: patchwork-bot+netdevbpf
Date: Wed, 04 Nov 2026 21:20
30 lines
9133 bytes
Hello:

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

On Thu, 29 Oct 2026 23:26:17 -0400 you wrote:
> Commit 5f77c18ea556 ("l2tp: use IDR for all session lookups") made
> pppol2tp_connect() and the netlink session commands find sessions with
> l2tp_session_get(), passing the socket of the tunnel they name.
> 
> L2TPv3 session IDs are unique per network namespace, except that
> sessions carried over UDP are only unique per UDP socket, the socket of
> their tunnel. However, l2tp_v3_session_get() only checks the socket when
> another session has the same session ID. Otherwise it returns the
> session, whichever tunnel it belongs to. As of now, a session command
> that names the wrong tunnel acts on a session of another tunnel, and a
> PPPoL2TP socket for a second L2TPv3 tunnel fails with EEXIST, because it
> finds session 0 of the first tunnel.
> 
> [...]

Here is the summary with links:
  - [net,v2] l2tp: only return sessions of the given tunnel in l2tp_session_get()
    https://git.kernel.org/netdev/net/c/a75facf4bb3e

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179382720463.3223324.16769779750927973517.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-356956-linux-kernel-netdev=dewy.ru
References: <20261030032617.4065353-1-hengyul@cs.unc.edu>

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-356956-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2] l2tp: only return sessions of the given tunnel in
 l2tp_session_get()
Date: Wed, 04 Nov 2026 21:20:04 +0000
Organization: Usenet Network
Message-ID: <179382720463.3223324.16769779750927973517.git-patchwork-notify@kernel.org>
References: <20261030032617.4065353-1-hengyul@cs.unc.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3522889"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:tBsfYPMIgNvmjdteX6d2iBWcvoo= sha256:r6JHuZpHQP9ugKe7a9hLCXIlnKD43ni8McJbBnNA8BU=
	sha1:se7jotLBZdbygPsfpM1fcLbgHTs= sha256:NOT7HoV56cU+JAwnKaoW0r0/fEtB5Yj6Kmg6yjDRekc=
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 23832112E10; Thu,  5 Nov 2026 03:14:29 +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 d9hZjOEtuSmQ;
	Thu,  5 Nov 2026 03:14:25 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-356956-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 C5966112E00; Thu,  5 Nov 2026 03:14:16 +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 7305D606DB; Wed,  4 Nov 2026 21:59:43 +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=1793827212;
	b=LW992lwgOcdF7bypUygrCdl+TGJPa9nqvfymo2nOryWib2aUPn3YwJ7CDm3VhcCUYn1X
	 3AFV/grr89cXH7zwD3w5jo/rgd7LCDLhGOTzep7MrUB0ueHjImhzV64yhJdpHke63HFvG
	 RrKhc58Jji1fxKHa8qMFgLozZ5u/e2xLTASnoEUs1VGgGxb+lgrPLr2vCrkGTUpUZ2+cC
	 bEaAyCPPqf3NEVTFVGF31hTZs2HrTZj2o2TnfQFfG9K0h78Ns1g0ZUgIUMQQx3/q090ny
	 /SmbGcR7Eh9lrkVFC2Et0b+xETQ7lkHWBtQ1Wyd/QzOZu1sX6ndgSotE0H5tSuVE7Fw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793827212;
	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=UEo2NWoGyE8ES2/cBdC2d8fMHRdabnSxMHMTsK/eZ/c=;
	b=jaTR0xr3ZS3d9vN2EJlb/nJPL5ZhJ01pheuJgTpgspLUcyumT7Ren1Qw/fDcwt9ZWcLP
	 dFuVNDEOCu2hjISPoyv91C9KlXZvMR5x9AOgsGdY0JiALxM1c/Vw8tD8WjSnoKdyAP72P
	 ZpUm+T+V64lav20jg+oNQGBoESNQjYeFnC4MqVtSkmZ6uKWWzta9/1XvgOswCSvfdrOyN
	 WRtApoNFDLwRouLtBBNoTTe7meueHZ5+TYqu+XBoPmhM9IjQRbNEmaYcpVKZ6/r1xMway
	 /R5AzzUt6Jq8tFIUKvd0PyFYvOqPVzvqg4sG+LJihZFsydmRNnKgeVpmFH4q3hjAiFQ==
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=fOrx4Aa2;
	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 4CEFC608C99B;
	Wed,  4 Nov 2026 21:20:12 +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=fOrx4Aa2
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=1793827206;
	b=MN/bZTJmMUMA3tezfnpqxOd6oFRHmGl0WxRGXCswjeWEeZme8dCBw14/AbWeYP7T4fn+
	 mfuiHxaoJUrtQv3OspXPxM7juEI9TnRal18yYAyTzrDgtzH559srsHszNdsBIDkKlGnx1
	 mtX+POev2BYX3qPAzRD6OFtblymXAL7XgP7I/SYZy1wkobcnMUmzSbM5jvP2PMIiBpgRo
	 l8mzd4SI62vvyghhydNdnizGN5HpnzK57RLsacFRQhkDLShCbbl9h6i7Rk0X6J1b9ndDs
	 9wX72rYiYYFfUtMqTEFe5NTopKlrl9ZMsgzxMIjjiuYnk1pStUrXeMKd9rTG/tyX5qQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793827206;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=UEo2NWoGyE8ES2/cBdC2d8fMHRdabnSxMHMTsK/eZ/c=;
	b=U3PzhK72lcWOhjptUo0+nqgOGEc75jEqTKGCveUaCJB7GOh2uWDRhnVQCITB+MSycM/S
	 J9Ca40Y44lhDoZ5RXR5GPw1WbhjHYzat5b1HC0PTzpp6ShyIJvu1hJI1CMntjnvYo/Rqp
	 50nMD1NgnRJbakiQMVMu4bfoTIFhDSFqliE5AYlrhCyT+6YmQeGPsenIeTDdGWa3M2ahf
	 pPnkKt3Dxqa9EVfZ9WXDi/KTI/V8mCZzyeqbCJfNVO7VtfDf9BFdF6sCalP4mw1nmcT3I
	 F3x4rihSN8+j5EfDq7BL+T4/el1veYNn+IuDWKyisx3lcbk2jezxImADYvyYkjzvwaA==
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=fOrx4Aa2;
	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 EEC5B606B2C5;
	Wed,  4 Nov 2026 21:20:05 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C78BE1F0093A;
	Wed,  4 Nov 2026 21:20:05 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793827205;
	bh=UEo2NWoGyE8ES2/cBdC2d8fMHRdabnSxMHMTsK/eZ/c=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=fOrx4Aa2LNpVlorhvzEapOUohcPAjK1dCYbxWzBtm+SkxS8CC2YYCh63Ug7ZihNXM
	 H3qO0jOX4VmS3bHWCLIKIg5kQltwvhZgFvD51Qu6bbDYD/eyLxHr6T34OqK/rEnoUT
	 WLgFgYAjCuc3x2T7PY+q5zx9CnzRGUAL5EzQnarxFBxstO0T0CsmIGUPNPwPT2cGKd
	 1bAQ6KNac2QGwGGx+C2PIRP3JyWDekIAs0qMH+EAWaOfWg3K/8vFtaIfD1yhJRAiCG
	 JSAHLWvOhIFCzqxkG6dljk7zfPJHXbRT+Drx3D50+07l3c7k8d/SnK0tShtqHm5O0h
	 Lc1lv3w8nvc9Q==
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 BA342380047F;
	Wed,  4 Nov 2026 21:20:05 +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: <20261030032617.4065353-1-hengyul@cs.unc.edu>
X-Cc: davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
 pabeni@redhat.com, netdev@vger.kernel.org, horms@kernel.org,
 jchapman@katalix.com, tparkin@katalix.com, gnault@redhat.com,
 linux-kernel@vger.kernel.org, stable@vger.kernel.org