]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
net: Fix typo in net/core/sock.c.
authorRami Rosen <ramirose@gmail.com>
Wed, 14 May 2008 10:50:03 +0000 (03:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 May 2008 10:50:03 +0000 (03:50 -0700)
In sock_queue_rcv_skb()  (net/core/sock.c) it should be:
"Cast sk->rcvbuf ..." instead of: "Cast skb->rcvbuf ..."

Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock.c

index fa76f04fa9c6fd443937702f4f869417bf217c4f..88094cb09c06c0749fc768338d93bf8d4b5208c3 100644 (file)
@@ -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 >=