Article View: linux.kernel.netdev
Article #5400Re: [PATCH net] l2tp: snapshot sequencing state when building transmit headers
From: patchwork-bot+netdevbpf
Date: Tue, 20 Oct 2026 09:40
Date: Tue, 20 Oct 2026 09:40
29 lines
8949 bytes
8949 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Tue, 13 Oct 2026 17:05:00 +0800 you wrote:
> Updates to send_seq from netlink, PPP setsockopt and receive-side
> negotiation race with packet transmission. The header length is updated
> separately, while transmit reads both fields repeatedly without
> synchronization.
>
> For example, transmit can push a ten-byte L2TPv2 header, then a concurrent
> writer clears send_seq before the header builder reads it. The builder
> writes only six bytes, leaving four bytes of uninitialized skb headroom
> in the outgoing packet. The reverse mismatch overwrites the beginning of
> the payload. A later hdr_len read can also make the UDP length disagree
> with the skb length.
>
> [...]
Here is the summary with links:
- [net] l2tp: snapshot sequencing state when building transmit headers
https://git.kernel.org/netdev/net/c/d06ae66516e1
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179248920528.3616761.4424083944726406723.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-349157-linux-kernel-netdev=dewy.ruReferences:
<20261013090500.1180376-1-nicoyip.dev@gmail.com>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-349157-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] l2tp: snapshot sequencing state when building transmit headers Date: Tue, 20 Oct 2026 09:40:05 +0000 Organization: Usenet Network Message-ID: <179248920528.3616761.4424083944726406723.git-patchwork-notify@kernel.org> References: <20261013090500.1180376-1-nicoyip.dev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3825289"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:kl2mfiidoVzTrXGvkHPd2IxIrc4= sha256:AyKvaQkwLZtBy4CducXjDmT9FBGYBuiz1MXZeYDMPmc= sha1:WqflrWjFImp3jep/iWQar+RNwE4= sha256:YQ11OJnJ4ALKakRePsn8bsYgow6+SWXjhQkMYb8ixLM= 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 C82D6110C7B; Tue, 20 Oct 2026 12:56:26 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.729 X-Spam-Status: No, score=-3.729 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.329, 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 HEGwTnUR5zHO; Tue, 20 Oct 2026 12:56:23 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-349157-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 5C792110C73; Tue, 20 Oct 2026 12:56:15 +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 4FDDB82365; Tue, 20 Oct 2026 09:41:30 +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=1792489213; b=k/G25F2FxqzH38KSso7h7nQm/gPRzCjEkxe44+LMyRdnV0Ds+duK5ftVi83/HUkAzkti 4ZMvrNi1m0Lic0YXr7WjYP+zdkozIi1yPWk8Y7OKP1+1nLNe0KYhC+ORp7zlkNxftQUsL aQ+Pq8Z8uqaoOvIk4xfK6MM9XXvpk6t2EX+eanI7e4vwxH+9+YNCYYUic/n2T7a62YHoF g0GR3vrZQ+30VqH/PDpoONdOXiRvpqxC2c2Ie0DuEPQ27c+oWgMW3wXBgG1KgfJjf474X XHSTYCI+ZGa2oavTTtCTgaM91dkBhNOaOkbknv1V5S8fEtX4d7Ap3x1L4/KrKRNsbYA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792489213; 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=b8Aj3vH1ZwXNXY68nNpwhdnagcEoLEnr43eZ/ot6hJM=; b=Vq1aNOCWzkhYy3PWcfzuQDDBZBB7WAki08sEi56Vu+cd3LfCg/RHld1Ons/HQbvjfAzF 3SDpnG1blSEl9yeTI1X4XG22nkJdUrrZlAZW6oBEaBgv5sPDKmlp0EzhuzrjbIeOGhEX+ vLdF2Hc1SyfwE5NtcPadFxQPC1nrcDRVWwGczDCHBd/f2v192szjVqlvY/pNBq7fUNsqn kXpSHOI+XPnqxhga1fw1L7FRXsuClA7I6QV50qIF9pj9R+GZg9BoA6S4QEcBVu2PbWbws i0tEeYAAo6Fekbl97f0pbSiCC0gFdUPyq0/dwQLMw8kyq4IaEF4FM7oF/eiryHrZNgQ== 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=YII2U8Y0; 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 1BE2160A4AD5; Tue, 20 Oct 2026 09:40:13 +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=YII2U8Y0 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=1792489207; b=RrdwKFY1Ehg86XRd+UzSPNMs1bWUADqQJwgdd2LY5V2TxwXIci08q5ts3Tsl78Sn5YSf pNd48HICmzI27Bm3nDdtTmaQs3SgBCvwYdMGhKpRNc8J3hvn9L5duyKQb6ru+ahPTfgVc z0ERpam5eHRp80S0uzvXImx8T2IpgjT6U7FmmS4+I/5hc/VhU9z/yD03sTt2YoY//pBY7 0LICflgaA6mGNGyW64T0b5RprwuqmESr2Ljr49J8JgcP3NJ2XZzL9WWO6vMes15rrHspk +LnCHzSElJBB9qLf+ToLKoUpJmBVWyZQo3Thmb4noz/pDJsvw/O8MQ/dmtkNdThuPsQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792489207; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=b8Aj3vH1ZwXNXY68nNpwhdnagcEoLEnr43eZ/ot6hJM=; b=MivgA7HImFKKyxFbD0NlqgdPLTMsbiFwLFokO+K7F4kkryvlaEVqNhV+q62xV8xLrYZR 0hGhPZanMg6xhM53lytceXNRXXvbRXK8I5doVaOEaHNU49jweyVAlsUtL+C/BxITkodo/ VzOBYaDJAF6Zsk9oQg1MDVWNaoR58PEMGKZ3khx2bI0yE2AG11snjxWgCZ4V2rt9VeoAv o14haWB7CUeY+SUXHEhPmNJrRGx/ua/ma0hhKuCFEJkEXciGn7++swypYzANrqHvQ5UQO cC3LPEZeEEQTb+PvO5/gEdzQXdQULQhD3c43SnONOO90w8QI0yt4SC9zTlbjx3gug4Q== 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=YII2U8Y0; 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 F0E3B606A321; Tue, 20 Oct 2026 09:40:06 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81FBE1F000C8; Tue, 20 Oct 2026 09:40:06 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792489206; bh=b8Aj3vH1ZwXNXY68nNpwhdnagcEoLEnr43eZ/ot6hJM=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=YII2U8Y0zbkHAmdkq1rGQ+wLmCYHVeXegwaI/F77rEZzVFCguVNGLuqTYT53y42+a eToK5T7uwTgySKcjyPm2L3sxsMWnSpI6R0ItN/rIHx+H7085vvLLqnYDzjolOzzOmz 8TVEsefnYk3ZJB9wgo6uSbxYrftPSpo8P6uNMFyuhIhZVUj2hfd6Z/qYI/DmBCVbqf aeodu6Oop378dw4EazpVy0T627oSg9JGwbu2UesHdvDw/INMzgYzCxGt6O9lp9w0Zo /aiBX0s39xOzssNtzZDVvhZEIonTUY2HNI+3/gRC3cAb3xyDTfnYs1b0zOKxVz/ugD DHJJlH+FvYBxA== 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 774873808209; Tue, 20 Oct 2026 09:40:06 +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: <20261013090500.1180376-1-nicoyip.dev@gmail.com> X-Cc: jchapman@katalix.com, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org