mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
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: Andrey Vagin <avagin@openvz.org> Acked-by: Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
b5ab9edba7
commit
dfeeb0a9f3
1 changed files with 2 additions and 2 deletions
|
|
@ -1212,8 +1212,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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue