[CRIU] [PATCH] files: Do not close transport socket twice

Kirill Tkhai ktkhai at virtuozzo.com
Mon Mar 20 05:11:58 PDT 2017


We close it in sigreturn_restore() for unification with other
service fds, so kill the second close() from here.

Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
 criu/files.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/criu/files.c b/criu/files.c
index 8124db4c8..ca9b5ef62 100644
--- a/criu/files.c
+++ b/criu/files.c
@@ -1200,7 +1200,6 @@ int prepare_fds(struct pstree_item *me)
 
 	ret = open_fdinfos(me);
 
-	close_service_fd(TRANSPORT_FD_OFF);
 	if (rsti(me)->fdt)
 		futex_inc_and_wake(&rsti(me)->fdt->fdt_lock);
 out:



More information about the CRIU mailing list