[CRIU] [PATCH] page-xref: set ret to zero if PS_IO_FLUSH completed successfully

Pavel Emelyanov xemul at parallels.com
Fri Aug 9 09:57:21 EDT 2013


On 08/09/2013 05:55 PM, Andrew Vagin wrote:
> Due to this issue the server initiates closing a connection and its
> socket is transfered into the TIME_WAIT state, so the second run of
> page-server fails with the error "the address is already in use".
> 
> Signed-off-by: Andrew Vagin <avagin at openvz.org>
> ---
>  page-xfer.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/page-xfer.c b/page-xfer.c
> index 6098b92..14e1740 100644
> --- a/page-xfer.c
> +++ b/page-xfer.c
> @@ -197,6 +197,7 @@ static int page_server_serve(int sk)
>  			}
>  
>  			flushed = true;
> +			ret = 0;
>  			break;
>  		}
>  		default:
> 


applied


More information about the CRIU mailing list