🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #13607

Re: [PATCH net-next v2] l2tp: bump tunnel stats before dropping the session reference

#13607
From: patchwork-bot+netdevbpf
Date: Tue, 10 Nov 2026 02:55
25 lines
8811 bytes
Hello:

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

On Tue,  3 Nov 2026 16:42:49 +0800 you wrote:
> From: Linkui Xiao <xiaolinkui@kylinos.cn>
> 
> l2tp_udp_encap_recv() derives the tunnel pointer from the session it
> has just looked up, so the session reference is the only thing keeping
> the tunnel alive.  Both error paths of the function drop the reference
> before jumping to the invalid label, which still dereferences the
> tunnel:
> 
> [...]

Here is the summary with links:
  - [net-next,v2] l2tp: bump tunnel stats before dropping the session reference
    https://git.kernel.org/netdev/net-next/c/0276fa554ca7

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179427931617.3612825.8081282959489295835.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-359802-linux-kernel-netdev=dewy.ru
References: <20261103084249.1337657-1-xiaolinkui@126.com>

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-359802-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v2] l2tp: bump tunnel stats before dropping the
 session reference
Date: Tue, 10 Nov 2026 02:55:16 +0000
Organization: Usenet Network
Message-ID: <179427931617.3612825.8081282959489295835.git-patchwork-notify@kernel.org>
References: <20261103084249.1337657-1-xiaolinkui@126.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="508811"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:rBgcL9Q863zGJZgUXlmntkKn+EI= sha256:C+JpkGatrK3ClqFcjx7Rvks/p8E2OreFbhrJHn4e9yM=
	sha1:RW4tg2cIohIhQDrrnBndYFCTtV4= sha256:QpT/SneWA38wEovCbmx9ktIXgWRUal1JdMBXSpJhwz4=
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 837BF113A0E; Tue, 10 Nov 2026 06:09:46 +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 JWSwjYcavhM2;
	Tue, 10 Nov 2026 06:09:43 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-359802-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 22129113A0D; Tue, 10 Nov 2026 06:09:35 +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 D2664A4206; Tue, 10 Nov 2026 02:58:24 +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=1794279329;
	b=mtp1ZdIhR5DY2Eqr5pQvUEKYA8P/VIUO6yY8vrIEL+PJQO0+6NlbCIhOalSsw/usD7vp
	 yptw0zFnsLvkTGunFbYuu0ovGNjTu4T8MeuMcrozBtlqmgaGe/Er5Mv84a8LXijD45i+f
	 fgeetKVyp1qTkhDnjAnh8iKtplHI9oIJ0ymM7UxTYof253J8lMcFjw+okaoRIdLHeShF0
	 XZoT6tvwLhYvozEr1JeUq7cVdRWj3l/7/EmUbT+V0HRh/48s3X9gXtEjzDMrvIqKXB3Ia
	 Zpg/rwZG/5OQ08GDOBVisoxnazYh3FsmcYC46FtHhHbK71QsPCKaT+sP3hKohKqlbGg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794279329;
	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=Ryr/YCOGfr9nvO+2suuQw9qH3lv+dRckup4q1WryHSw=;
	b=u/mtx9U/9Xz97OLNRYn1o5PO59CmX9C3M+x2CklqFAXaRZMpjYwyagWIuQJ540CYSHst
	 wYIRW6eQTo0U1lXcJdjc4mqYd+MR0LhwK+mwCOPYvHXiFZwT+RfytFwaOpoL1U0YTqNUq
	 4+Z9EUo5rstPfZRklakkCJkB78UX8ervP07aCO4PR34kOJ4FMdVCIGUqck5+/wRz8BupB
	 RYYrWs6H4TXfABBASEYYU1ncbqVggkqe8jSvlmdNN5gv/8E2hfvcCvVzTtRTxia0KcY1S
	 l9rx7aJb2qhyfm3bPSJkGgbES3PG7hFvWKy6E8DxoLxJszspRBWqTNvL1lXZ9hfAtZA==
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=X6jxqqyq;
	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 3D7B760A5BD7;
	Tue, 10 Nov 2026 02:55:29 +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=X6jxqqyq
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=1794279318;
	b=jdb0YwN2286R3azqgPu1+Io3FFDyEyzamX3sHIiSXxTUgyZYfKuSsoCCwQSg3qvGSrvU
	 BfQ/1EGmRRq0spTDNg2a3tx5nEK8QTmFJlzklUkK1PuUeZtkWaTYobBuYLpAbRjHIeXkO
	 o716TZHBwPR7dd9y9WKfT37vKkHRQ825wH1zYQdGvZ+9nInHagFucyoBTwFlWIzB3widi
	 kCPOphhEG1f3q46xMdEgH0COP5ufMn77nJzylEsuo2+uowNjw/kNKOCNgjXD6QuWAYNmj
	 RYn2ISWwWX6XLVG7onUj0iZFcJ584bpDMBAZBTYDpGXYrrG8uh9wavk5dx3L4n9YmYQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794279318;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=Ryr/YCOGfr9nvO+2suuQw9qH3lv+dRckup4q1WryHSw=;
	b=KcPjrWbNy17eZhGgGhTnNc18VId7XjHtBrD1EcYF5G2QFnYgcAIrwcddSOymS4kZrlju
	 k1MD3WY747ymkZI+BQmCxOA48U1xqV8moLm8Pizuf1IyZNu7POqf8GCCwvicY5E8eeZ88
	 DCRqhRNEuQ45vA5vBqIIA3c3BMAVlRyU2auPgctL/TUV4xXTQ3ywLXZnb7VlGDc+6LTOz
	 OusgJ0ms3WIfLM2QmkL/wnTLxhbuoO1dWzjfYo788Lud+w585s+6aFU6IB7JDhhz+vtaJ
	 FbH23DhAQUaUlaEwf+wziXJJ+nN5M/L6mB1rAMA52fmMJI1DNyrg65i+fFLj8kRrLAQ==
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=X6jxqqyq;
	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 1A5F3606BADF;
	Tue, 10 Nov 2026 02:55:17 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id A41231F0089F;
	Tue, 10 Nov 2026 02:55:17 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794279317;
	bh=Ryr/YCOGfr9nvO+2suuQw9qH3lv+dRckup4q1WryHSw=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=X6jxqqyq/IgETTMLUb99phG6ZI2B7KwBOVeJkRE2MWOyqIkHs37JDWSpdU39dozn5
	 ybZhN3PoVAkP16CtDhdg5ZvmMH4Y4SAiLsomEVcVeVh3CblToPOWB+LalPpaeqhVnI
	 u4pYDvGzOh3YTkgc6B9gdZVz70yR2DxNIM+EIQ7rg3wyS06NRlVV+ZSZdoL/n0j32E
	 cGZFHiGMAj3ZUzzkeSc91llnHHev1IaJfZzCSdCKTE/G2j4JMVOKD1NTOp63qNJ3uB
	 Hu03GAHDfRC3HA7erTP3GyVPraA00/ktBS8FUTvXNlgQNxlUTCMd5Rb/NbMd1rE48B
	 FIDTGlGKFmUAA==
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 9B200391AFCB;
	Tue, 10 Nov 2026 02:55: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: <20261103084249.1337657-1-xiaolinkui@126.com>
X-Cc: davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
 pabeni@redhat.com, horms@kernel.org, michael.bommarito@gmail.com,
 gnault@redhat.com, alice.kernel@fastmail.im, kuniyu@google.com,
 nicoyip.dev@gmail.com, mail@david-bauer.net, netdev@vger.kernel.org,
 linux-kernel@vger.kernel.org, xiaolinkui@kylinos.cn