All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vinod Koul <vkoul@kernel.org>
To: dmaengine@vger.kernel.org, Rosen Penev <rosenp@gmail.com>
Cc: Frank Li <Frank.Li@kernel.org>, Stefan Roese <sr@denx.de>,
	 linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dmaengine: mv_xor: return descriptor to free pool on io_win failure
Date: Thu, 10 Sep 2026 19:40:39 +0530	[thread overview]
Message-ID: <178904943964.118320.2401943102810826405.b4-ty@kernel.org> (raw)
In-Reply-To: <20260909234924.103418-1-rosenp@gmail.com>


On Wed, 09 Sep 2026 16:49:24 -0700, Rosen Penev wrote:
> When mv_xor_prep_dma_xor() allocates a descriptor slot and then
> mv_xor_add_io_win() fails in the source-address loop, the slot
> stays on the allocated list and is never reclaimed, leaking a
> descriptor resource.
> 
> Return the slot to the free pool under the channel lock before
> returning NULL on failure.
> 
> [...]

Applied, thanks!

[1/1] dmaengine: mv_xor: return descriptor to free pool on io_win failure
      commit: 5d5f4b3407d6ec86e76d094c332301135f493636

Best regards,
-- 
~Vinod



      parent reply	other threads:[~2026-09-10 14:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-09 23:49 [PATCH] dmaengine: mv_xor: return descriptor to free pool on io_win failure Rosen Penev
2026-09-10  0:01 ` sashiko-bot
2026-09-10  1:45 ` Frank Li
2026-09-10 14:10 ` Vinod Koul [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178904943964.118320.2401943102810826405.b4-ty@kernel.org \
    --to=vkoul@kernel.org \
    --cc=Frank.Li@kernel.org \
    --cc=dmaengine@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rosenp@gmail.com \
    --cc=sr@denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.