Article View: linux.kernel.netdev
Article #3468Re: [PATCH net v4] net: axienet: free outstanding TX buffers in axienet_dma_bd_release()
From: patchwork-bot+netdevbpf
Date: Thu, 15 Oct 2026 07:30
Date: Thu, 15 Oct 2026 07:30
28 lines
6725 bytes
6725 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Wed, 7 Oct 2026 06:46:20 +0300 you wrote:
> axienet_dma_bd_release() walks the RX ring to unmap and free every
> receive buffer before releasing it, but frees the TX descriptor ring
> with dma_free_coherent() alone. Any descriptor that
> axienet_free_tx_chain() had not yet reclaimed still holds its skb and
> its streaming DMA mapping, and both are lost.
>
> axienet_stop() disables TX NAPI and stops the DMA engine before calling
> it, so nothing reclaims those descriptors afterwards. Bringing the
> interface down while frames are in flight therefore leaks up to
> lp->tx_bd_num skbs and mappings each time.
>
> [...]
Here is the summary with links:
- [net,v4] net: axienet: free outstanding TX buffers in axienet_dma_bd_release()
https://git.kernel.org/netdev/net-next/c/0c20cb4cfb40
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179204940452.3240332.8918425911650346441.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-346563-linux-kernel-netdev=dewy.ruReferences:
<20261007034620.1360542-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-346563-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v4] net: axienet: free outstanding TX buffers in axienet_dma_bd_release() Date: Thu, 15 Oct 2026 07:30:04 +0000 Organization: Usenet Network Message-ID: <179204940452.3240332.8918425911650346441.git-patchwork-notify@kernel.org> References: <20261007034620.1360542-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="2474058"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:aS+Zpstg1LO8hK3xAuBTGq4CCmE= sha256:pVyUV86yOCK/lff2/eamaX68Dl5al49hMq3Eqf5rJBQ= sha1:TZmdfUM8uKWLDQGFHm63BSAUVNw= sha256:UpjZ1urx0VR8d+ZNJAe4+sORnSHzXq/o2ocJVHsVV5s= 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 E8F43110264; Thu, 15 Oct 2026 10:30:29 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -1.34 X-Spam-Status: No, score=-1.34 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.24, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, 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 IWUNAaAvGYGB; Thu, 15 Oct 2026 10:30:26 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-346563-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 5807911025D; Thu, 15 Oct 2026 10:30:17 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id E3CC52D835; Thu, 15 Oct 2026 07:30:13 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD3FF367B98; Thu, 15 Oct 2026 07:30:12 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fXNrCSz0" X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 018D147DD44; Thu, 15 Oct 2026 07:30:06 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792049412; cv=none; b=b2neKly6bCrC0uEhsV/UBkQuYxegI5T6gaJ5zL3cbMRgCcjheYcVJl5o/S7IbgH2LYxoaNST8Uu6FisITciFxWLw/BNRuPI26x59Bgzv2X+wt9d6KVMdlU/Pe5Wx/+3C/dZnEPeLbUoFXcVhwbq9po0oSIDGnF5Ji/PSDvkNygU= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792049412; c=relaxed/simple; bh=ZuCR9BfGncvngM6XQeTriZk1mtjJ/2Wb1S+cBUutNTw=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=r/Oi6ak9DYRZqdB4rZvyHepZVjtpNgvp0CvHChL9j6eB9km9OqiZWh4RDEENgGe4RuapN7/Km9KKBDR3x2FZx1hWLEOgDnjWwXt0GBU7R5UXH+y2j+Ror4139zFGTYKACD/eEXLgEvh9gJexRxtMpi0nqZOEdILvYp0tVzf2Tiw= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fXNrCSz0; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BFC8C1F000C4; Thu, 15 Oct 2026 07:30:05 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792049405; bh=BAJzzdhvugzKkYVj8KyEXPZU8qeSPJVqLHbWNfyLaQ0=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=fXNrCSz0zq2geIvGS/pywMuHMsDLj1yhzBf4O6e9/XBzukiNkTy1BTyigOJCPhMP4 WW+FJSpnjGvneReRPWaKcAsHFAaz8mF5+TdoeVycQ6wlsfJpoZ6+rCovjM51UIwlCv aJebFMJ/KskssLDZkdTwFY8hdnOaNcM1NGk4DF45M7Q7I317L6W9kH6uKoZ0fYqYWZ xC6MqFaVPBYr806LnRENGyoDlU7dZkPBVQw5FJddKR3yljCs+sKfFBciQOVms7OWx6 FYZWtWia+4EsOwyK8Dg1STurD/HvZpaKvauVqev4IZlM0s6WDbE1b/wMdR9QcmfH3o K+7GuDsyhkaOA== 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 B458F392E9C3; Thu, 15 Oct 2026 07:30:05 +0000 (UTC) X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-In-Reply-To: <20261007034620.1360542-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@google.com, kuba@kernel.org, pabeni@redhat.com, daniel@iogearbox.net, jacob.e.keller@intel.com, joe@dama.to, suraj.gupta2@amd.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org