Linux USB
 help / color / mirror / Atom feed
From: Johan Hovold <johan@kernel.org>
To: Cen Zhang <zzzccc427@gmail.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	baijiaju1990@gmail.com
Subject: Re: [PATCH] USB: iowarrior: kill async writes before freeing on disconnect
Date: Thu, 18 Jun 2026 15:20:18 +0200	[thread overview]
Message-ID: <ajPwkpRByTav6VOp@hovoldconsulting.com> (raw)
In-Reply-To: <20260618104126.3392136-1-zzzccc427@gmail.com>

On Thu, Jun 18, 2026 at 06:41:26PM +0800, Cen Zhang wrote:
> IOWarrior write() uses anchored interrupt URBs for async-capable
> devices and passes struct iowarrior as the completion context.
> release() can close the file while those URBs are still outstanding; it
> only stops the interrupt-in URB when the device is still present.

I believe I fixed this here:

	https://lore.kernel.org/lkml/20260523170523.1074563-1-johan@kernel.org/

but there may have been some confusion about who was going to apply it
so the fix is not yet in Greg's tree.

Johan

  reply	other threads:[~2026-06-18 13:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-18 10:41 [PATCH] USB: iowarrior: kill async writes before freeing on disconnect Cen Zhang
2026-06-18 13:20 ` Johan Hovold [this message]
2026-06-18 13:29   ` Cen Zhang

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=ajPwkpRByTav6VOp@hovoldconsulting.com \
    --to=johan@kernel.org \
    --cc=baijiaju1990@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=zzzccc427@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox