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