[CRIU] [PATCH] sk: Print socket protocol when searching
Pavel Emelyanov
xemul at parallels.com
Thu Sep 24 09:39:44 PDT 2015
Signed-off-by: Pavel Emelyanov <xemul at parallels.com>
---
diff --git a/sockets.c b/sockets.c
index df6176c..40e59a1 100644
--- a/sockets.c
+++ b/sockets.c
@@ -339,7 +339,7 @@ struct socket_desc *lookup_socket(int ino, int family, int proto)
return ERR_PTR(-EINVAL);
}
- pr_debug("\tSearching for socket %x (family %d)\n", ino, family);
+ pr_debug("\tSearching for socket %x (family %d.%d)\n", ino, family, proto);
for (sd = sockets[ino % SK_HASH_SIZE]; sd; sd = sd->next)
if (sd->ino == ino) {
BUG_ON(sd->family != family);
More information about the CRIU
mailing list