Comment 1 for bug 1944586

Revision history for this message
Eric Desrochers (slashd) wrote : Re: kernel bug found when disconnecting one fiber channel interface on Cisco Chassis with fnic DRV_VERSION below 1.6.0.47

[Potential fix candidate]

commit 712582e60f288e7cede8d6fc8769529317e0f3e0
Author: Hannes Reinecke <email address hidden>
Date: Fri May 15 13:26:47 2020 +0200

scsi: fnic: Do not call 'scsi_done()' for unhandled commands

The fnic drivers assigns an ioreq structure to each command and severs this
assignment once scsi_done() has been called and the command has been
completed.

When traversing commands to terminate outstanding I/O we should not call
scsi_done() on commands which do not have a corresponding ioreq structure;
these commands have either never entered the driver or have already been
completed.