commit | 413f365657a8b9669bd0ba3628e9fde9ce63604e | [log] [tgz] |
---|---|---|
author | Jitendra Bhivare <jitendra.bhivare@broadcom.com> | Tue Dec 13 15:56:03 2016 +0530 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu Jan 05 00:21:13 2017 -0500 |
tree | 905d5ef41f0c20ef0021aff2e492b6cbefbcad11 | |
parent | 29e80b7ce36ffcc3efd6062d87ddaf6c6f43a542 [diff] |
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>