mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 22:05:36 +00:00
d9ec409b3fbf43b9283cc09e90c7e70a694288d9
If we're doing the pre-dump command we don't have the tasks' IDs collected, so we have the current_ns_mask uninitilized. Thus we create parasite transport socket in criu's namespace always and pre-dump of task, sitting in foreing net namespace may hang. From the "performance" point of view, it's easier to always create transport socket in victim's namespace, rahter than getting the current_ns_mask. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
criu ==== An utility to checkpoint/restore tasks. Some code snippets are borrowed from - Linux kernel (http://kernel.org/) - git (http://git-scm.com/) - kvm-tools (https://github.com/penberg/linux-kvm) - ptrace-parasite (https://code.google.com/p/ptrace-parasite/) Many thanks to these projects. Licensed under GPLv2 (http://www.gnu.org/licenses/gpl-2.0.txt)
Description
Languages
C
86%
Python
6.1%
Java
2.6%
Shell
2.6%
Makefile
2%
Other
0.7%