diff options
| author | Tony Battersby <tonyb@cybernetics.com> | 2025-11-10 10:55:22 -0500 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-11-12 18:07:50 -0500 |
| commit | ed382b95f5de9b98668b3d00c7adddfdd4fc5c31 (patch) | |
| tree | 2be8959c7b297b54683c5c202203189e9f82c05d /rust/helpers/build_bug.c | |
| parent | c34e373f535e74d3caf1c0d81b6819deb52d37ed (diff) | |
scsi: qla2xxx: target: Fix term exchange when cmd_sent_to_fw == 1
Properly set the nport_handle field of the terminate exchange message.
Previously when this field was not set properly, the term exchange would
fail when cmd_sent_to_fw == 1 but work when cmd_sent_to_fw == 0 (i.e. it
would fail when the HW was actively transferring data or status for the
cmd but work when the HW was idle). With this change, term exchange
works in any cmd state, which now makes it possible to abort a command
that is locked up in the HW.
Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Link: https://patch.msgid.link/1a221699-969b-4f28-8ea4-395d2f7a7c0a@cybernetics.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions
