]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/net/sock.h
net: wrap sk->sk_backlog_rcv()
[linux-2.6-omap-h63xx.git] / include / net / sock.h
index 18f96708f3a6db257e742e6809e38f7c73570a60..ada50c04d09ffbb64135690573740567a59436a5 100644 (file)
@@ -482,6 +482,11 @@ static inline void sk_add_backlog(struct sock *sk, struct sk_buff *skb)
        skb->next = NULL;
 }
 
+static inline int sk_backlog_rcv(struct sock *sk, struct sk_buff *skb)
+{
+       return sk->sk_backlog_rcv(sk, skb);
+}
+
 #define sk_wait_event(__sk, __timeo, __condition)                      \
        ({      int __rc;                                               \
                release_sock(__sk);                                     \