|
@@ -63,7 +63,11 @@ struct unix_sock {
|
|
|
#define UNIX_GC_MAYBE_CYCLE 1
|
|
#define UNIX_GC_MAYBE_CYCLE 1
|
|
|
struct socket_wq peer_wq;
|
|
struct socket_wq peer_wq;
|
|
|
};
|
|
};
|
|
|
-#define unix_sk(__sk) ((struct unix_sock *)__sk)
|
|
|
|
|
|
|
+
|
|
|
|
|
+static inline struct unix_sock *unix_sk(struct sock *sk)
|
|
|
|
|
+{
|
|
|
|
|
+ return (struct unix_sock *)sk;
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
#define peer_wait peer_wq.wait
|
|
#define peer_wait peer_wq.wait
|
|
|
|
|
|