2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

cr-restore: unlock connections at the last moment

Restore must not fail after unlocking connections.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin
2012-09-17 20:06:14 +04:00
committed by Pavel Emelyanov
parent 772d6853d2
commit 5ec8a1c313
2 changed files with 13 additions and 12 deletions

1
net.c
View File

@@ -424,6 +424,7 @@ void network_unlock(void)
if (!(opts.namespaces_flags & CLONE_NEWNET)) {
tcp_unlock_all();
tcp_unlock_connections();
return;
}