diff options
author | James Smart <jsmart2021@gmail.com> | 2017-11-20 16:00:40 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-12-04 20:32:54 -0500 |
commit | add9d6be3d650bf897b1c3feadabcf42e216acdb (patch) | |
tree | ac974757bc9682ef557f4d957fc8d1fd368f671a /certs | |
parent | 3b5bde69bcf91d75e75d6b0ca9ab6346d0744137 (diff) | |
download | op-kernel-dev-add9d6be3d650bf897b1c3feadabcf42e216acdb.zip op-kernel-dev-add9d6be3d650bf897b1c3feadabcf42e216acdb.tar.gz |
scsi: lpfc: Correct driver deregistrations with host nvme transport
The driver's interaction with the host nvme transport has been incorrect
for a while. The driver did not wait for the unregister callbacks
(waited only 5 jiffies). Thus the driver may remove objects that may be
referenced by subsequent abort commands from the transport, and the
actual unregister callback was effectively a noop. This was especially
problematic if the driver was unloaded.
The driver now waits for the unregister callbacks, as it should, before
continuing with teardown.
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions