Commit c8449dbb authored by Kirill Tkhai's avatar Kirill Tkhai Committed by Andrei Vagin

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: 's avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 86289c56
......@@ -778,7 +778,5 @@ int set_netns(uint32_t ns_id)
last_ns_id = ns_id;
close(nsfd);
close_pid_proc();
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment