mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 22:05:36 +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:
committed by
Pavel Emelyanov
parent
3ea73d7f9b
commit
10343df696
@@ -197,6 +197,7 @@ static int page_server_serve(int sk)
|
|||||||
}
|
}
|
||||||
|
|
||||||
flushed = true;
|
flushed = true;
|
||||||
|
ret = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user