Article View: linux.kernel.netdev
Article #5713Re: [PATCH net-next] net: axienet: release every RX buffer in axienet_dma_bd_release()
From: patchwork-bot+netdevbpf
Date: Tue, 20 Oct 2026 20:50
Date: Tue, 20 Oct 2026 20:50
27 lines
9132 bytes
9132 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 15 Oct 2026 11:47:43 +0300 you wrote:
> The RX walk in axienet_dma_bd_release() stops at the first descriptor
> without an skb, assuming that such a slot and all after it were never
> filled. That holds on the axienet_dma_bd_init() error path, but not once
> the ring has been running: when axienet_rx_poll() fails to allocate or
> map a replacement buffer it leaves the slot it emptied with a NULL skb,
> in the middle of a populated ring, until a later poll refills it.
> Closing the interface before then leaks the skb and the streaming DMA
> mapping of every descriptor after that slot, which can be most of the
> ring, and is most likely under memory pressure.
>
> [...]
Here is the summary with links:
- [net-next] net: axienet: release every RX buffer in axienet_dma_bd_release()
https://git.kernel.org/netdev/net-next/c/b59787892d04
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179252941027.202014.1920735438863244312.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-349570-linux-kernel-netdev=dewy.ruReferences:
<20261015084743.1798326-1-maimon.sagi@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-349570-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next] net: axienet: release every RX buffer in axienet_dma_bd_release() Date: Tue, 20 Oct 2026 20:50:10 +0000 Organization: Usenet Network Message-ID: <179252941027.202014.1920735438863244312.git-patchwork-notify@kernel.org> References: <20261015084743.1798326-1-maimon.sagi@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3958619"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:L1uzG+mH2/8ZVm068uRlSn0nhdw= sha256:zpatjh/HC1gPQz7fOeVJDMoj9U48jWIjsddhif+yE+k= sha1:y/6QOuNp27IG3EFMvOuObdC4rfM= sha256:G7QKrfPKkEuFJIknSHW8yYfDhkGPYx3u0XMLAabelDo= 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 3BA0F110E46; Tue, 20 Oct 2026 23:54:52 +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 pFKNJe_NFRzo; Tue, 20 Oct 2026 23:54:49 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-349570-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 CA5B6110E36; Tue, 20 Oct 2026 23:54:40 +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 492A63239C; Tue, 20 Oct 2026 20:50:13 +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=1792529413; b=oKotvmqaiFVlaDPBZX4NzlblAPylh8jeShuyIBgXLcwMcjoli2HZW15Sll7AGGmbhbKk Ik1+ALA5uoJ3yrZucHaov1O6Tmo184njonp7mR8rrn94FdQlEks5w87/VCtfNFQu314W3 czoSsiriE44thx9b9SqnZcQW7eDEIUDKMn32FgeYIQtnIajIdf14vJkD41/RaQ70RTOoi Rl7aIXgJFz3W3iAqwrSwlnmhyOCxD/nDzJutMZhO9Fq9skSEHWedWp5s0tAjZMsO3Rcj9 /eOfTj8U4nUor4NSXdKz4K7faTLxV2RyzOUgQ01euPyCMWMktU6RFh9pmPaUhDdVweA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792529413; 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=4kBeYw1QN9RLpUkse88tUQ3URyvYGAihH6x26tvte7s=; b=mRmB4qhcuMTOo3GFQilGmqZy5fb+LzYtqd//Q1FsFVoY4kSNtYBR/J6eXnAIDS45QYS8 fKGK55Jv+Uw8SXrGFQ+Dn61xKr5MXfaEHlzLER3sh1HDqlTFuezuLVBRGenrGphuBhfOD IIayfrG2C0LhdFXgxMC47JNmk9+1jlL7kEzKke3iGzaDmDZXx0PjcLp9aquDjqIbNBsZu 4eLYz7s5+LcYUPxn3pJnaJzoaOlGNgG0JE5juz9GjVaQcNNhOTJXWvAOmQx/KIuBnc9Pg Xf1jOmSnhoz/u+chAkENIge/njQrFFbItCQ+67BHY4HCk/FP5Luez85+UAYID/yanUg== 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=Wsyos3W6; 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 1B364606A324; Tue, 20 Oct 2026 20:50: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=Wsyos3W6 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=1792529412; b=ljmUZlAULYsQ24Kl/2vofPMyw0R8n+GBIQkxHuO1M23MK6aZzbrJiJFFQQTkv8tIgmWF OxTe29Ox83idUbekOQDKBRnj7atsVV1yYX3C/5sBnX71EtO1ZANUw0WD6icHt6bvukcR0 fLZKtEQbukq37+xTN6t90vY3nHx89Q2HtgCbTmHWNoyobDBa5Acc0w4An+R0naajrsIRh qMzy7BxdvN7YjCmO7DB/Mpmy+gDw5uQkzsWnMcuDeoGxbTmIasrMLBVPSKZwSvc8DrswZ VhSwlclof1TUsiP/ZQR2LTKxAA/WyuooMQb+VHRSSSw4mtb2rd7tBaDn5l2EJeQT1tg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792529412; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=4kBeYw1QN9RLpUkse88tUQ3URyvYGAihH6x26tvte7s=; b=fSn6SdQnue+cd8q6n9EO7IuqGk93EwfGmOasywFR45dCFlZvlCiLPCCRpyZM7Lh/thR4 gEOH8VA39dgyVF+MBzD7LFtmz1yySNnV41sO/XJp+u2ok9Hbcylz+qQ4+HF9wMjW1sL8p t9ZTjTKEwnSdBxNr3hbFMm+Pbpq+ho8OfA862jRjQOkiLrcN3FpbdlOf4cThMQIehgkpB fjNHhgWkybvQ7q6qhWqe28tCHVsdew1dgzdngMQYcxc+vVG86fbulxB7gJYiXmk4rtd3R 14+2ci++0EdR787/pllJQvh9O4SAJfPGw1yG9znGOXmY5BhmJdADX0Dt8jKBGRhXrYg== 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=Wsyos3W6; 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 ED74B606A323; Tue, 20 Oct 2026 20:50:11 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C39431F000CE; Tue, 20 Oct 2026 20:50:11 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792529411; bh=4kBeYw1QN9RLpUkse88tUQ3URyvYGAihH6x26tvte7s=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=Wsyos3W6vCyeubB6c2YWrKr4wfiTG3RJqLkIPj+G3WrVMFGCyooyplR86mxQqqqVt PU/kfFwK3u3Fkdig6SNbSJhM+DVxdzDlNC0J9k/Z3yxXlgg6MPI5gF+RVZI9HF9Fit lQ/6PVRKeHiI349prrgERWlYCZYJ/yAbKtcCKfQIjLNlrH8flsgLfbfkYg3mLVqhw9 Fqn7kP6OxzdosCWtIgSq6p2+vKY3nTbTQ5gobA4f2mpt8dz2tRzbhw7Z3JiPQN4bn1 0/ZO/9tZsrXkPc4E5c9WZsKkid/RIdqgD8Mo8q/EFepDSWG/i1+T+gk295A0aaBb9A 4aKI1vwszk8Cw== 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 B49033809A09; Tue, 20 Oct 2026 20:50: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: <20261015084743.1798326-1-maimon.sagi@gmail.com> X-Cc: netdev@vger.kernel.org, radhey.shyam.pandey@amd.com, michal.simek@amd.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, andre.przywara@arm.com, robert.hancock@calian.com, horms@kernel.org, joe@dama.to, suraj.gupta2@amd.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org