mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +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;
|
||||
close(nsfd);
|
||||
|
||||
close_pid_proc();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user