#include <linux/socket.h>
#include <linux/un.h>
#include <linux/mutex.h>
+#include <linux/vs_base.h>
#include <net/sock.h>
extern void unix_inflight(struct file *fp);
s = sk_next(s);
if (!s)
s = next_unix_socket_table(i);
- } while (s && !vx_check(s->sk_xid, VX_IDENT|VX_WATCH));
+ } while (s && !nx_check(s->sk_nid, VS_WATCH_P|VS_IDENT));
return s;
}