[Devel] [PATCH] criu: add more information about control messages

Andrey Vagin avagin at openvz.org
Thu Feb 16 08:29:26 PST 2017


From: Andrei Vagin <avagin at virtuozzo.com>

We need to know a type of unsupported control messages.

https://jira.sw.ru/browse/PSBM-60643
Signed-off-by: Andrei Vagin <avagin at 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



More information about the Devel mailing list