From: Oliver Neukum <oneukum@suse.com>
To: Diego Fernando Mancera Gomez <diegomancera.dev@gmail.com>,
Oliver Neukum <oliver@neukum.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] usb: image: microtek: stop SG processing after transfer errors
Date: Tue, 28 Jul 2026 10:45:32 +0200 [thread overview]
Message-ID: <36a9fcca-675d-4051-9f8f-7efbcc273aff@suse.com> (raw)
In-Reply-To: <20260723195654.152104-1-diegomancera.dev@gmail.com>
On 23.07.26 21:56, Diego Fernando Mancera Gomez wrote:
> When an SG URB completes with an error, mts_do_sg() calls
> mts_transfer_cleanup(), which completes the SCSI command through
> scsi_done(). However, the callback continues advancing the scatterlist
> and may submit another URB for a command that has already been
> completed.
>
> Return immediately after the cleanup so that no further processing is
> performed on the completed command.
>
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Signed-off-by: Diego Fernando Mancera Gomez <diegomancera.dev@gmail.com>
Acked-by: Oliver Neukum <oneukum@suse.com>
prev parent reply other threads:[~2026-07-28 8:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-23 19:56 [PATCH] usb: image: microtek: stop SG processing after transfer errors Diego Fernando Mancera Gomez
2026-07-28 8:45 ` Oliver Neukum [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=36a9fcca-675d-4051-9f8f-7efbcc273aff@suse.com \
--to=oneukum@suse.com \
--cc=diegomancera.dev@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=oliver@neukum.org \
/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