diff options
Diffstat (limited to 'net/tipc/socket.h')
-rw-r--r-- | net/tipc/socket.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/tipc/socket.h b/net/tipc/socket.h index f1cd54a68817..a02d0bb0e2ab 100644 --- a/net/tipc/socket.h +++ b/net/tipc/socket.h | |||
@@ -67,4 +67,11 @@ static inline struct sock *tipc_port_to_sk(const struct tipc_port *port) | |||
67 | return &(container_of(port, struct tipc_sock, port))->sk; | 67 | return &(container_of(port, struct tipc_sock, port))->sk; |
68 | } | 68 | } |
69 | 69 | ||
70 | static inline void tipc_sk_wakeup(struct sock *sk) | ||
71 | { | ||
72 | sk->sk_write_space(sk); | ||
73 | } | ||
74 | |||
75 | u32 tipc_sk_rcv(struct sock *sk, struct sk_buff *buf); | ||
76 | |||
70 | #endif | 77 | #endif |