commit | 3f7f62ee5b10de42b3ff1a33599fde4a2094960a | [log] [tgz] |
---|---|---|
author | Jitendra Bhivare <jitendra.bhivare@broadcom.com> | Tue Dec 13 15:55:58 2016 +0530 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu Jan 05 00:21:13 2017 -0500 |
tree | d2e7b2bfcef7dbe0a74c3d67ee940f7015dcba35 | |
parent | 392b7d2f122210da594671606321223167a5a85c [diff] |
scsi: be2iscsi: Add checks to validate completions Added check in beiscsi_process_cq for pio_handle. pio_handle is cleared in beiscsi_put_wrb_handle. This catches any case where task gets cleaned up just before completion. Use back_lock before accessing pio_handle. Signed-off-by: Jitendra Bhivare <jitendra.bhivare@broadcom.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>