Commit 49074a98 authored by Andrey Vagin's avatar Andrey Vagin Committed by Cyrill Gorcunov

socket: skipe unsupported sockets (v2)

We collect all unix sockets in the current net namespace, but
a target process uses a few of them, so we may skip unsupported sockets
and if it is used by a target process, lookup_socket returns error.
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Acked-by: 's avatarPavel Emelyanov <xemul@parallels.com>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent 90fd4bfa
......@@ -239,8 +239,8 @@ static int unix_collect_one(struct unix_diag_msg *m, struct rtattr **tb)
struct stat st;
if (name[0] != '/') {
pr_err("Relative bind path unsupported\n");
goto err;
pr_warning("Relative bind path unsupported\n");
return 0;
}
if (!tb[UNIX_DIAG_VFS]) {
......
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