Blame 0021-libiscsi-fix-discovery-request-timeout-regression.patch

54e364
From 1aa35262d566d829d711bc746f944dee5c2d9e7a Mon Sep 17 00:00:00 2001
3e84e8
From: rpm-build <rpm-build>
3e84e8
Date: Tue, 28 Feb 2017 09:00:41 -0800
54e364
Subject: [PATCH 21/32] libiscsi: fix discovery request timeout regression
3e84e8
3e84e8
---
3e84e8
 libiscsi/libiscsi.c | 2 ++
3e84e8
 1 file changed, 2 insertions(+)
3e84e8
3e84e8
diff --git a/libiscsi/libiscsi.c b/libiscsi/libiscsi.c
3e84e8
index 755c18ca8e3b..bb17dfcafded 100644
3e84e8
--- a/libiscsi/libiscsi.c
3e84e8
+++ b/libiscsi/libiscsi.c
3e84e8
@@ -136,6 +136,7 @@ int libiscsi_discover_sendtargets(struct libiscsi_context *context,
3e84e8
 
3e84e8
 	/* Fill the drec struct with all needed info */
3e84e8
 	memset(&drec, 0, sizeof drec);
3e84e8
+	drec.iscsid_req_tmo = -1;
3e84e8
 	idbm_sendtargets_defaults(&drec.u.sendtargets);
3e84e8
 	drec.type = DISCOVERY_TYPE_SENDTARGETS;
3e84e8
 	strlcpy(drec.address, address, sizeof(drec.address));
3e84e8
@@ -228,6 +229,7 @@ int libiscsi_discover_firmware(struct libiscsi_context *context,
3e84e8
 	CHECK(iface_create_ifaces_from_boot_contexts(&ifaces, &targets));
3e84e8
 
3e84e8
 	memset(&drec, 0, sizeof(drec));
3e84e8
+	drec.iscsid_req_tmo = -1;
3e84e8
 	drec.type = DISCOVERY_TYPE_FW;
3e84e8
 	rc = idbm_bind_ifaces_to_nodes(discovery_fw, &drec, &ifaces, &rec_list);
3e84e8
 	if (rc) {
3e84e8
-- 
54e364
2.14.4
3e84e8