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

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