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,6 +521,8 @@ int run_unix_connections(void) ...@@ -521,6 +521,8 @@ int run_unix_connections(void)
fle = file_master(&ui->d); fle = file_master(&ui->d);
/* Skip external sockets */
if (!list_empty(&peer->d.fd_info_head))
futex_wait_while(&peer->bound, 0); futex_wait_while(&peer->bound, 0);
memset(&addr, 0, sizeof(addr)); memset(&addr, 0, sizeof(addr));
......
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