X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fnet%2Faf_unix.h;h=47c8228a3467c278b84c7bc27add0fc362cc2d6c;hb=refs%2Fremotes%2Fvserver;hp=b483a036a4f11efa9a61da2867b8b34cf85bd470;hpb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;p=linux-2.6.git diff --git a/include/net/af_unix.h b/include/net/af_unix.h index b483a036a..47c8228a3 100644 --- a/include/net/af_unix.h +++ b/include/net/af_unix.h @@ -4,6 +4,7 @@ #include #include #include +#include #include extern void unix_inflight(struct file *fp); @@ -33,7 +34,7 @@ static inline struct sock *next_unix_socket(int *i, struct sock *s) 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; }