Merge patch series "libfc: fixup command abort handling"
authorMartin K. Petersen <martin.petersen@oracle.com>
Wed, 6 Dec 2023 02:33:05 +0000 (21:33 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 6 Dec 2023 02:33:05 +0000 (21:33 -0500)
Hannes Reinecke <hare@kernel.org> says:

Hi all,

when testing command timeout with the help of XDP I found that
scsi_try_to_abort_cmd() would always return 'SUCCESS' for FCoE, even
if no commands could be sent over the wire.  Which is not only
surprising, but also can lead to data corruption as commands were
never aborted.  Root cause was that aborts had been sent twice, once
from FC error recovery and once from SCSI EH, with the former inducing
the latter to assume that the command was already aborted.

As usual, comments and reviews are welcome.

Link: https://lore.kernel.org/r/20231129165832.224100-1-hare@kernel.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

Trivial merge