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

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