summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/wd33c93.c
diff options
context:
space:
mode:
authorJitendra Bhivare <jitendra.bhivare@broadcom.com>2016-12-13 15:56:03 +0530
committerMartin K. Petersen <martin.petersen@oracle.com>2017-01-05 00:21:13 -0500
commit413f365657a8b9669bd0ba3628e9fde9ce63604e (patch)
tree905d5ef41f0c20ef0021aff2e492b6cbefbcad11 /drivers/scsi/wd33c93.c
parent29e80b7ce36ffcc3efd6062d87ddaf6c6f43a542 (diff)
downloadblackbird-op-linux-413f365657a8b9669bd0ba3628e9fde9ce63604e.tar.gz
blackbird-op-linux-413f365657a8b9669bd0ba3628e9fde9ce63604e.zip
scsi: be2iscsi: Add checks to validate CID alloc/free
Set CID slot to 0xffff to indicate empty. Check if connection already exists in conn_table before binding. Check if endpoint already NULL before putting back CID. Break ep->conn link in free_ep to ignore completions after freeing. 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 'drivers/scsi/wd33c93.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud