diff options
author | Jitendra Bhivare <jitendra.bhivare@broadcom.com> | 2016-12-13 15:55:58 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-01-05 00:21:13 -0500 |
commit | 3f7f62ee5b10de42b3ff1a33599fde4a2094960a (patch) | |
tree | d2e7b2bfcef7dbe0a74c3d67ee940f7015dcba35 /net/atm/mpc.c | |
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>
Diffstat (limited to 'net/atm/mpc.c')
0 files changed, 0 insertions, 0 deletions