From: Andrei Vagin <ava...@virtuozzo.com>

We need to know a type of unsupported control messages.

https://jira.sw.ru/browse/PSBM-60643
Signed-off-by: Andrei Vagin <ava...@virtuozzo.com>
---
 criu/sk-queue.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/criu/sk-queue.c b/criu/sk-queue.c
index be33ca1..f68d26f 100644
--- a/criu/sk-queue.c
+++ b/criu/sk-queue.c
@@ -125,6 +125,8 @@ static int dump_packet_cmsg(struct msghdr *mh, 
SkPacketEntry *pe, int flags)
                                return -1;
                        continue;
                }
+               pr_err("cmsg: len %ld type %d level %d\n",
+                       ch->cmsg_len, ch->cmsg_type, ch->cmsg_level);
                pr_err("Control messages in queue, not supported\n");
                return -1;
        }
-- 
1.8.3.1

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to