diff options
author | Quinn Tran <[email protected]> | 2024-02-27 22:11:17 +0530 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-03-10 18:44:42 -0400 |
commit | 4895009c4bb72f71f2e682f1e7d2c2d96e482087 (patch) | |
tree | 8c827b610d59b0baf4f5c1d5188aee1e50dd0354 /scripts/generate_rust_analyzer.py | |
parent | 517bcc2b4db435f230fe864f3db0a0f21d2f6951 (diff) |
scsi: qla2xxx: Prevent command send on chip reset
Currently IOCBs are allowed to push through while chip reset could be in
progress. During chip reset the outstanding_cmds array is cleared
twice. Once when any command on this array is returned as failed and
secondly when the array is initialize to zero. If a command is inserted on
to the array between these intervals, then the command will be lost. Check
for chip reset before sending IOCB.
Cc: [email protected]
Signed-off-by: Quinn Tran <[email protected]>
Signed-off-by: Nilesh Javali <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions