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

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