X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fcore%2Fsock.c;h=88094cb09c06c0749fc768338d93bf8d4b5208c3;hb=a177ba3b7a08beef3f0fe74efa0f90701891945a;hp=fa76f04fa9c6fd443937702f4f869417bf217c4f;hpb=54c852a2d61bb15d9b979410c2260edfb23d448c;p=linux-2.6 diff --git a/net/core/sock.c b/net/core/sock.c index fa76f04fa9..88094cb09c 100644 --- a/net/core/sock.c +++ b/net/core/sock.c @@ -270,7 +270,7 @@ int sock_queue_rcv_skb(struct sock *sk, struct sk_buff *skb) int err = 0; int skb_len; - /* Cast skb->rcvbuf to unsigned... It's pointless, but reduces + /* Cast sk->rcvbuf to unsigned... It's pointless, but reduces number of warnings when compiling with -W --ANK */ if (atomic_read(&sk->sk_rmem_alloc) + skb->truesize >=