Commit c674906f authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

sk-unix: queuer should be set for peer

because we are going to restore data of peer.

Anyway this is wrong, because we need to restore a message with a sender
address.
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Acked-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent bbc2cbc4
......@@ -1267,8 +1267,8 @@ int resolve_unix_peers(void)
}
ui->peer = peer;
if (!ui->queuer)
ui->queuer = ui->ue->ino;
if (!peer->queuer)
peer->queuer = ui->ue->ino;
if (ui == peer)
/* socket connected to self %) */
continue;
......
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