Commit 3dc209e2 authored by Pavel Emelyanov's avatar Pavel Emelyanov

sk: Print socket protocol when searching

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent cbf2c22d
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment