Re: [PATCH v2 10/13] be2iscsi: Add checks to validate CID alloc/free

2016-12-22 Thread Hannes Reinecke
On 12/13/2016 11:26 AM, Jitendra Bhivare wrote: Set CID slot to 0x 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: Ji

[PATCH v2 10/13] be2iscsi: Add checks to validate CID alloc/free

2016-12-13 Thread Jitendra Bhivare
Set CID slot to 0x 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 --- drivers/scsi/be2iscsi/be_iscs