libfc: fixup command abort handling
Martin K. Petersen
AppliedHannes,
Quoted 7 lines
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.
Applied to 6.8/scsi-staging, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering