mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-03 15:55:53 +00:00
socket: Remove useless close_pid_proc() from set_netns()
Net namespace does not act on /proc/[pid] context, so this close is completely useless. v4: New Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
committed by
Andrei Vagin
parent
86289c568e
commit
c8449dbb04
@@ -778,7 +778,5 @@ int set_netns(uint32_t ns_id)
|
|||||||
last_ns_id = ns_id;
|
last_ns_id = ns_id;
|
||||||
close(nsfd);
|
close(nsfd);
|
||||||
|
|
||||||
close_pid_proc();
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user