Files linux-2.6.16-rc1-vs2.1.0.6.2b/include/net/.af_unix.h.swp and linux-2.6.16-rc1-vs2.1.0.6.2c/include/net/.af_unix.h.swp differ diff -NurpP linux-2.6.16-rc1-vs2.1.0.6.2b/net/unix/af_unix.c linux-2.6.16-rc1-vs2.1.0.6.2c/net/unix/af_unix.c --- linux-2.6.16-rc1-vs2.1.0.6.2b/net/unix/af_unix.c 2006-01-21 18:28:17 +0100 +++ linux-2.6.16-rc1-vs2.1.0.6.2c/net/unix/af_unix.c 2006-01-25 17:22:11 +0100 @@ -238,6 +238,8 @@ static struct sock *__unix_find_socket_b sk_for_each(s, node, &unix_socket_table[hash ^ type]) { struct unix_sock *u = unix_sk(s); + if (!vx_check(s->sk_xid, VX_IDENT|VX_WATCH)) + continue; if (u->addr->len == len && !memcmp(u->addr->name, sunname, len)) goto found;