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

Andrei Vagin avagin at virtuozzo.com
Mon Mar 20 11:35:43 PDT 2017


Applied, thanks!

On Mon, Mar 20, 2017 at 03:11:58PM +0300, Kirill Tkhai wrote:
> 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