[CRIU] [PATCH] page-server: wait when a socket will be closed only if it isn't external
Adrian Reber
adrian at lisas.de
Mon Sep 28 06:59:00 PDT 2015
On Mon, Sep 28, 2015 at 04:38:17PM +0300, Andrey Vagin wrote:
> From: Andrey Vagin <avagin at openvz.org>
>
> External socket can be used for other purpose.
>
> Reported-by: Adrian Reber <adrian at lisas.de>
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
p.haul works again. Thanks.
Acked-by: Adrian Reber <adrian at lisas.de>
> ---
> page-xfer.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/page-xfer.c b/page-xfer.c
> index 7465ed8..e6e64d7 100644
> --- a/page-xfer.c
> +++ b/page-xfer.c
> @@ -257,7 +257,7 @@ static int page_server_serve(int sk)
> ret = -1;
> }
>
> - if (ret == 0) {
> + if (ret == 0 && opts.ps_socket == -1) {
> char c;
>
> /*
> --
> 2.4.3
More information about the CRIU
mailing list