[CRIU] [PATCH 4/5] sk-unix: queuer should be set for peer
Andrey Vagin
avagin at openvz.org
Sun Aug 2 22:27:44 PDT 2015
because we are going to restore data of peer.
Anyway this is wrong, because we need to restore a message with a sender
address.
Cc: Tycho Andersen <tycho.andersen at canonical.com>
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
sk-unix.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sk-unix.c b/sk-unix.c
index 7a99728..d05eb1a 100644
--- a/sk-unix.c
+++ b/sk-unix.c
@@ -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;
--
2.1.0
More information about the CRIU
mailing list