summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-10-20 07:35:46 +0000
committermav <mav@FreeBSD.org>2014-10-20 07:35:46 +0000
commit5889805f1c8d073e48e28ed50a629090c354309f (patch)
tree5edef3f84b3f25e6f67bac50c236cd528644cf13 /sys/cam
parentcc6cca3f1e5c3cec97d68e6b2d95d678f1bc0eb2 (diff)
downloadFreeBSD-src-5889805f1c8d073e48e28ed50a629090c354309f.zip
FreeBSD-src-5889805f1c8d073e48e28ed50a629090c354309f.tar.gz
MFC r272812: Make iSCSI connection close somewhat less aggressive.
It allows to push out some final data from the send queue to the socket before its close. In particular, it increases chances for logout response to be delivered to the initiator.
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/ctl/ctl_frontend_iscsi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/cam/ctl/ctl_frontend_iscsi.c b/sys/cam/ctl/ctl_frontend_iscsi.c
index d9f840d..70736bb 100644
--- a/sys/cam/ctl/ctl_frontend_iscsi.c
+++ b/sys/cam/ctl/ctl_frontend_iscsi.c
@@ -1139,7 +1139,6 @@ cfiscsi_maintenance_thread(void *arg)
* that anymore. We might need to revisit that.
*/
callout_drain(&cs->cs_callout);
- icl_conn_shutdown(cs->cs_conn);
icl_conn_close(cs->cs_conn);
/*
OpenPOWER on IntegriCloud