diff options
author | Jitendra Bhivare <jitendra.bhivare@broadcom.com> | 2017-03-24 14:11:41 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-03-27 22:03:04 -0400 |
commit | 49fc5152f5904aeab75aaef631ea61dff7ee76d8 (patch) | |
tree | 84af141cb193c76806e1dab9361e732ea2274f0b /drivers/cpuidle | |
parent | eb419229be58dc6d4a3a814116a265908e088c39 (diff) |
scsi: be2iscsi: Fix closing of connection
CID needs to be freed even when invalidate or upload connection fails.
Attempt to close connection 3 times before freeing CID.
Set cleanup_type to INVALIDATE instead of force TCP_RST. This
unnecessarily is terminating connection with reset instead of gracefully
closing it.
Set save_cfg to 0 - session not to be saved on flash.
Add delay and process CQ before uploading connection.
Signed-off-by: Jitendra Bhivare <jitendra.bhivare@broadcom.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Chris Leech <cleech@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions