2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 05:48:05 +00:00

page-xref: set ret to zero if PS_IO_FLUSH completed successfully

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@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrew Vagin 2013-08-09 17:57:11 +04:00 committed by Pavel Emelyanov
parent 3ea73d7f9b
commit 10343df696

View File

@ -197,6 +197,7 @@ static int page_server_serve(int sk)
}
flushed = true;
ret = 0;
break;
}
default: