Commit 5a0038a9 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

sk-unix: fix connection to external sockets

Don't need to wait external sockets, they should exist.
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 98759c76
......@@ -521,7 +521,9 @@ int run_unix_connections(void)
fle = file_master(&ui->d);
futex_wait_while(&peer->bound, 0);
/* Skip external sockets */
if (!list_empty(&peer->d.fd_info_head))
futex_wait_while(&peer->bound, 0);
memset(&addr, 0, sizeof(addr));
addr.sun_family = AF_UNIX;
......
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