Article View: linux.kernel.netdev
Article #18826Re: [PATCH net] net: stmmac: drop the rest of the frame when napi_build_skb() fails
From: patchwork-bot+netdevbpf
Date: Thu, 19 Nov 2026 00:00
Date: Thu, 19 Nov 2026 00:00
26 lines
9034 bytes
9034 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 13 Nov 2026 17:13:40 +0000 you wrote:
> From: Arun Iyengar <aiyengar1990@gmail.com>
>
> If napi_build_skb() fails on the first buffer of a frame that spans
> several descriptors, stmmac_rx() drops that buffer but goes on with the
> next descriptor of the same frame as if a new frame started there. The
> rest of the frame is then passed up the stack as a frame of its own. A
> frame spans several descriptors when it does not fit in the RX buffers
> of one descriptor.
>
> [...]
Here is the summary with links:
- [net] net: stmmac: drop the rest of the frame when napi_build_skb() fails
https://git.kernel.org/netdev/net/c/ece404eac250
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179504640528.2628008.5659141402667774044.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366540-linux-kernel-netdev=dewy.ruReferences:
<20261113-stmmac-rx-skb-fail-v1-1-fcaae89f2d2c@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366540-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net: stmmac: drop the rest of the frame when napi_build_skb() fails Date: Thu, 19 Nov 2026 00:00:05 +0000 Organization: Usenet Network Message-ID: <179504640528.2628008.5659141402667774044.git-patchwork-notify@kernel.org> References: <20261113-stmmac-rx-skb-fail-v1-1-fcaae89f2d2c@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2734455"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:IQIk/vb9HkyMIqupoeER/8uDqAg= sha256:C/Pa4tx7/dBjRyqFbZ+zluojBzYG+9J1922b1lwB7sk= sha1:YwWPzy/M+kPhHlflPY0Dscai4w0= sha256:qLiTsYIRFoTUP+RIgjZbTPGnXgMjSQM304ykvc1CiZc= 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 49FD01153C6; Thu, 19 Nov 2026 03:00:27 +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 ykwBYBTEb_Vc; Thu, 19 Nov 2026 03:00: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-366540-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 0BACF11542F; Thu, 19 Nov 2026 03:00:14 +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 1B18920769F; Thu, 19 Nov 2026 00:00:08 +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=1795046407; b=wQSJZgXYgSkM9vhrVTLIXGtx28w1RlQPwKktyiUSvE74B5M64+99TXAqvjVtI0mYpmwT NtgkhoShZQbT96Bg3jD+nKM7OvnW/fSlZvdRuQcWzzPrr+2HXPXDbrVx72yAvdul5iDOj 1lrh/O4mqkKEPNsvacHJtLI4zsmYsYnyBK8vAfUMP1exWtOsj5zGgC2WjerOO3JN/qCcs 9Q7ipPfBi6B2JJCcyhk+Yz6wdpG80JfcWyYFs0RjKCQhZrBTEUCwQkMu5DulpsPmWrp7a +z3Sj+EPaTUOQx6KDMuSB8re9bh5hMAl1QGg9y/x1QBAn/bsYf19ysK3l4KuTyXwshg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795046407; 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=1/9FVMg6kywcce5P8F50oXpupxOmDgZiF5njySBM1es=; b=ktJxvvBtK4i1sBa5GBqBtbx0nUA7lXcU4Nv5jOZpmX3CoL9fhLGcf/6zMgK/t6FQ+fFv RUXOX7/7AfoLvqdoopYg/6drp4EhJ1BuI9gundtV4eCFaTeVpfDuy2vMXlLlrcwzV7d8k YJM3CNeQgwCHYgkWvO2N6jnCG4r09FlUSt0m56atjVjU1ZfOt0xZAqQufRQFhR04VglNw 7fm3Wl/hD1Lpngmi/hPXyrO6lkmmlL9qSpAddD6JEkbDv6ehfdpeHTy9c7Cg6OHJxPBFR iNI2DZiRfGpM7d9/Ri7lne5Pbh8ev8hc91il7UPb3EEUgQhiyIPqXu1Ijh3LB1sm1og== 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=fA+aN76e; 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 9F7DA606A330; Thu, 19 Nov 2026 00:00:07 +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=fA+aN76e 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=1795046406; b=vPQbj4KEcg+Aax+RPGud9eWQCY5+neRDuMcTpPS9WZlGXUbMaab07u6bN7hNXGsE+qn5 KecpHxXyvKRjfFf6mgLLhu8VKSx9u/1/Qg0hC38x3v21EunwYCRJLu1bL6V9gSrBEH937 jw5Wy+y/InrRQMzi4Q4/Kyhs2DmWVtpSk5U8NsQnUvOx+sapauaixZmkvB0kIEYQ8xI7S 66EJgu+Pm0U/xV6caWrBdVKzbgdkXNA2ealnS8VOw/nlgqP8uuTt3+RD0rTijECVlfWMi QG3SUuscCsh55/FDunPZ1Z1pe5iO2V85m1Tarug2yrfiVC87qF7AzJdLyoOYGwR4jIg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795046406; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=1/9FVMg6kywcce5P8F50oXpupxOmDgZiF5njySBM1es=; b=wkXsqOSZHgpEiqMoIIPs7lxqJUPPcfcZhSrS3bLz06aACEuevSTNomUccbcRkxOIvcBR A6m9qR9IDuHxdR+E5BS70n5BdUK7QfwY7al6yKJY+VoYNKIWoUZl+MOVQnXyGljCvAUqi 2Oo9JYEdcqoktwUMjND78r/DtynxpLyT1GurcZBXF1IJ7OHiaaUSY1yMIUXNiWXoeQtil PoW159kserNw67SfaGMuty5IxKq/+8AgVuDUblgJSkvJ6N1zJUpqIe5fY5mYAwNMxlVqh njQTitKJWjQM/l6OszfwWn/JEis+tcyZlYOlbXVE4aH+d20WGAJAj7FptGkg0QaW4oQ== 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=fA+aN76e; 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 BD2ED606A325; Thu, 19 Nov 2026 00:00:06 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80F1C1F000C6; Thu, 19 Nov 2026 00:00:06 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795046406; bh=1/9FVMg6kywcce5P8F50oXpupxOmDgZiF5njySBM1es=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=fA+aN76eXvZMhSHhMmaricbYXvgI4y198sLkyXqF54ORYmglTp/wE9V/2Q9J85OKD gAY0l4YsEKQtbpzCBnLrf/qSVwv1v6yHIYSma/ad6Jdch8HHTB+N72wU71eso8pvwn omPS9C0HDlhHBRmWsIhhbFhNqHn0uV88TI42f4Aef6jtQMBgWRT+lWRPwGbZKijFEa e1i3ZMmiKZselfoJt6quqfCnesypkmzrB6SNWC8uJuEFksWfX5sfQ/Ch+MYBSpWewz rgSQGWmKOcg0pv6YEVY0tzwnCB3W9+/8BTFuRI/cdAI5hAvbMjfkQ9hBXEgR9A90pQ tkHrwZB9XG6Jw== 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 7730F3808210; Thu, 19 Nov 2026 00:00: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: <20261113-stmmac-rx-skb-fail-v1-1-fcaae89f2d2c@gmail.com> X-Cc: maxime.chevallier@bootlin.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, Jose.Abreu@synopsys.com, lorenzo@kernel.org, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, lorenzo.bianconi@oss.qualcomm.com, stable@vger.kernel.org