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>, Saeed Bishara <saeed@marvell.com>,
	 Dan Williams <djbw@kernel.org>,
	 Maciej Sosnowski <maciej.sosnowski@intel.com>,
	 Nicolas Pitre <nico@marvell.com>,
	Lennert Buytenhek <buytenh@marvell.com>,
	 linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dmaengine: mv_xor: kill tasklet on channel add error path
Date: Tue, 15 Sep 2026 23:06:21 +0530	[thread overview]
Message-ID: <178949378183.248239.15139864627876288604.b4-ty@kernel.org> (raw)
In-Reply-To: <20260909234601.101883-1-rosenp@gmail.com>


On Wed, 09 Sep 2026 16:46:01 -0700, Rosen Penev wrote:
> If request_irq() succeeds but a later step (self-test or device
> registration) fails, the error path at err_free_irq frees the IRQ
> but does not kill the tasklet.  A previously scheduled tasklet can
> still run after the channel is freed, accessing freed memory.
> 
> Add tasklet_kill() after free_irq() on the error path.
> 
> [...]

Applied, thanks!

[1/1] dmaengine: mv_xor: kill tasklet on channel add error path
      commit: bcb4d469b19d53dc21e4a1da12d4438e7489e150

Best regards,
-- 
~Vinod



      parent reply	other threads:[~2026-09-15 17:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-09 23:46 [PATCH] dmaengine: mv_xor: kill tasklet on channel add error path Rosen Penev
2026-09-09 23:58 ` sashiko-bot
2026-09-10  1:31 ` Frank Li
2026-09-15 17:36 ` 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=178949378183.248239.15139864627876288604.b4-ty@kernel.org \
    --to=vkoul@kernel.org \
    --cc=Frank.Li@kernel.org \
    --cc=buytenh@marvell.com \
    --cc=djbw@kernel.org \
    --cc=dmaengine@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maciej.sosnowski@intel.com \
    --cc=nico@marvell.com \
    --cc=rosenp@gmail.com \
    --cc=saeed@marvell.com \
    /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.