Blame SOURCES/0062-RH-dont-free-vecs.patch

38852f
---
38852f
 multipathd/main.c |    5 +++--
38852f
 1 file changed, 3 insertions(+), 2 deletions(-)
38852f
38852f
Index: multipath-tools-130222/multipathd/main.c
38852f
===================================================================
38852f
--- multipath-tools-130222.orig/multipathd/main.c
38852f
+++ multipath-tools-130222/multipathd/main.c
38852f
@@ -1735,8 +1735,9 @@ child (void * param)
38852f
 	vecs->pathvec = NULL;
38852f
 	unlock(vecs->lock);
38852f
 	/* Now all the waitevent threads will start rushing in. */
38852f
+	/* freeing vecs isn't worth the races
38852f
 	while (vecs->lock.depth > 0) {
38852f
-		sleep (1); /* This is weak. */
38852f
+		sleep (1);
38852f
 		condlog(3, "Have %d wait event checkers threads to de-alloc,"
38852f
 			" waiting...", vecs->lock.depth);
38852f
 	}
38852f
@@ -1746,7 +1747,7 @@ child (void * param)
38852f
 	vecs->lock.mutex = NULL;
38852f
 	FREE(vecs);
38852f
 	vecs = NULL;
38852f
-
38852f
+	*/
38852f
 	cleanup_checkers();
38852f
 	cleanup_prio();
38852f