X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=include%2Fnet%2Fsock.h;h=1444b523264b28977e50e344d2b1dc5f16d22d36;hp=3a79faef5af3a1dd9b3b41daad85f04d6aa771ac;hb=9b2e057859a2edb5daef515f70fb3db2d3915192;hpb=d0e04e049a62ad9e7371bbd6897f17e56900c48f diff --git a/include/net/sock.h b/include/net/sock.h index 3a79faef5af3..1444b523264b 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -1268,8 +1268,13 @@ static inline void sock_put(struct sock *sk) sk_free(sk); } -extern int sk_receive_skb(struct sock *sk, struct sk_buff *skb, - const int nested); +int __sk_receive_skb(struct sock *sk, struct sk_buff *skb, const int nested, + unsigned int trim_cap); +static inline int sk_receive_skb(struct sock *sk, struct sk_buff *skb, + const int nested) +{ + return __sk_receive_skb(sk, skb, nested, 1); +} static inline void sk_tx_queue_set(struct sock *sk, int tx_queue) {