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

pstree: Store task's netns on pstree-item

Will be needed for parasite sockets.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2014-09-29 22:05:17 +04:00
parent 678d19be26
commit 8ad653c732
3 changed files with 12 additions and 7 deletions

View File

@@ -372,7 +372,7 @@ int dump_task_ns_ids(struct pstree_item *item)
}
ids->has_net_ns_id = true;
ids->net_ns_id = get_ns_id(pid, &net_ns_desc);
ids->net_ns_id = __get_ns_id(pid, &net_ns_desc, &dmpi(item)->netns);
if (!ids->net_ns_id) {
pr_err("Can't make netns id\n");
return -1;