Article View: linux.kernel.netdev
Article #8623Re: [PATCH net] net/packet: check TX_RING fragments before memory accounting
From: patchwork-bot+netdevbpf
Date: Thu, 29 Oct 2026 16:10
Date: Thu, 29 Oct 2026 16:10
24 lines
8589 bytes
8589 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Wed, 28 Oct 2026 19:14:50 +0100 you wrote:
> From: Kyle Zeng <kylebot@openai.com>
>
> tpacket_fill_skb() adds the full non-linear payload length to
> skb->truesize and sk_wmem_alloc before checking MAX_SKB_FRAGS. With
> PACKET_VNET_HDR, userspace can submit a ring-sized frame even when it
> greatly exceeds the device MTU.
>
> [...]
Here is the summary with links:
- [net] net/packet: check TX_RING fragments before memory accounting
https://git.kernel.org/netdev/net/c/dc4dd12f80e4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179329021045.546068.359093054305133059.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-353362-linux-kernel-netdev=dewy.ruReferences:
<20261028181450.2221013-1-edumazet@kernel.org>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-353362-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net/packet: check TX_RING fragments before memory accounting Date: Thu, 29 Oct 2026 16:10:10 +0000 Organization: Usenet Network Message-ID: <179329021045.546068.359093054305133059.git-patchwork-notify@kernel.org> References: <20261028181450.2221013-1-edumazet@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2045641"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:cPC+pGyY2rycVgKdKuDY54HpGPE= sha256:ZevGSFIVu8moNbZNd9QW65JbhLOSydRaZCDOHTrbsXQ= sha1:OnkwxhGT8aBvCKyDbPEcIYWsbUA= sha256:xLWpR523ScpgvgCNOWeLcuRjCosBD83Lc6wrhrO1D7w= 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 5328F125C6D; Thu, 29 Oct 2026 19:24:53 +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 GbyNZetE2Vby; Thu, 29 Oct 2026 19:24:50 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-353362-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 36D90125C69; Thu, 29 Oct 2026 19:24:42 +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 C56B235289; Thu, 29 Oct 2026 16:11:54 +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=1793290218; b=QEBKk5qMISPuuv7nGYL/9Nc6KBn5ITTH04pT0iOwtDp9rvd673rynh9ExAfEeuZzdlYP latr4cPFYPoIODnZA088zqZz/3N+UkZ/ObxXIvcqqaXU+twjCsmn/hM+XL63XUaMZ8zX0 ueo0HsooVscejZvQTw4eAdoGmr59637qHlKYtAphLSGMsc5kx0ZkqZOCD5n5ZVwQjVien nn/slOu5b5qGFuQ/53lrg83C6S0KorzJreTyc+qTt9qqrrFu4hYFTDSq7AxlYvJD5zuee +5rjJvsyfZWjeQ11UeXq15VdiLp+CaKTcXWKYIwM5zWvFeo8L1kQ6G/ih5uxqBrbeTQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793290218; 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=gvdo6UhNV38uYbvU9MdvDPD33qtyP2Hg0RyJi2Ujyjg=; b=Uf5SbpzQhlm9JMgK/H4XsrM4+e3MiesNN3HdUqjWhCqvQ9u6fpMfTCQZaz+GkDNI6qSp yaUzJ+5PzYBZR1Mq7H7zIlY+Ha6aKtdT6tRbBCgcPBx/t9OdOe9sNng+JeiEV5cnOSySz WN6xTTagbZ+OHB8iH7v0xhfhMk604U7ysIqrN6PcdqO4SgP5j41FcQNg9IHE3LXh9aNCh OCsSNEPhHb+GbEbGnYcrV/Rmer0oA92xuGkmRGq5k1dSTjPHGyI18SRwPfhBZA55XRc7g 1jFMl66Q5+DuOvkyf4G+4wkdcFBr9BY5fcY/v4SstjMBslqFnPIJTOIQUDX4GFlu+lA== 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=dX2Wy+57; 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 1145260A2611; Thu, 29 Oct 2026 16:10:18 +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=dX2Wy+57 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=1793290212; b=HJ29gzQmUfkHtOHGz21hxqUXiKwQZbc+xRgSx19NSwDB76jhEZnUPmjncs4cMcEkuPiO ULd9DA0/vCLEguJ49W50WqSIuvuAQpIuJJnlGl6NWdNniMBdJELIICWvctOuO6+5BCtRr aUZe1F9GMJs7B6IL5o66nklwy2zf5hq99g07Twten8S1kd82iAyv1J4XR8OVc7xP6aEzY MBjBlwVUP1T6CATWH9sfXNlMMBwrPg82yxi+22Y2vddL0vgWhEPu36GwyN27IHK9s5PnH mehxg9BFm6omK5+uv+IYh3/PzAOH6nG5sUiYLXXyXVt40rqdGl2o0X+Y25qxlmnJPlQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793290212; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=gvdo6UhNV38uYbvU9MdvDPD33qtyP2Hg0RyJi2Ujyjg=; b=A1mv/tYwPs/Q+2BP31Fp3v38G069XC35mseQ6W1cLjKG9BQnAgEbXivybLRcYWLKJv9/ 9hFfY3RjERIjNoqrJLsp8ZpJvH7M85ladLXkzHg/8aW+cv+jBTI/EQGfCOWspwrWV0Z+S /A/yUWVSO7XJuwBJAdjysnY0/JuI20Iqd9uzppmw6EFxzdbjjX/ZuYuZeWxZRbdrrPmdG b0bdwr1KXcKGvG3bcfXjuLcvMXdS5ptWt5mKUbI0QQVQgT0FdYhTzTFhALOQ5skwdZbKU xc/BmQSImSLIzVg7Di40Tw7SWCvwSuIoBSARll7UQHo8+0Uc3Fk4fFZ3n9JUJ6iHvtw== 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=dX2Wy+57; 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 E892660A3809; Thu, 29 Oct 2026 16:10:11 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C32321F01829; Thu, 29 Oct 2026 16:10:11 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793290211; bh=gvdo6UhNV38uYbvU9MdvDPD33qtyP2Hg0RyJi2Ujyjg=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=dX2Wy+57PJGLJwMrWBqUi9n9iC4SP11oZcFmTIeM04hN7V/l1a9JZ68ZUQF5TlXXt OTTStSNLuTSoKTuBBFcauLYg89DuYXpUpI2TZuGykGcZXa0CbGQWYDgFsZLoanu6IT D9PRJ5kM+wbiRTgJixJyRLir4fKFawXxnD90WTaZqUQyACFQlmkv8I+K428NZg4/Zs vHAMljodCwZGBqQzP/pRldNS1278FHnyg9cRVmQ4QLcIyDlbwiOstwnNIqdvKlWTTF wluWfux0xqay+BdQgHsTtHPO8Bl1s6yhazaQU73X/Ge4KUeYpStuAyendCbbfLF3e7 kbk3tbm+LVPZg== 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 BA3163808221; Thu, 29 Oct 2026 16:10:11 +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: <20261028181450.2221013-1-edumazet@kernel.org> X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, willemb@google.com, netdev@vger.kernel.org, kylebot@openai.com, stable@vger.kernel.org, willemdebruijn.kernel@gmail.com