diff options
author | Rami Rosen <ramirose@gmail.com> | 2008-05-14 06:50:03 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-05-14 06:50:03 -0400 |
commit | 9ee6b7f1556e7889eff4666483b1b554d4686cd4 (patch) | |
tree | b2882c1bb6ed580011e2665c1405f24b7efeaed1 /net/core/sock.c | |
parent | 4b95ede6f6116ae1c0ed9605ec97d856c4814569 (diff) |
net: Fix typo in net/core/sock.c.
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>
Diffstat (limited to 'net/core/sock.c')
-rw-r--r-- | net/core/sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/sock.c b/net/core/sock.c index fa76f04fa9c6..88094cb09c06 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) | |||
270 | int err = 0; | 270 | int err = 0; |
271 | int skb_len; | 271 | int skb_len; |
272 | 272 | ||
273 | /* Cast skb->rcvbuf to unsigned... It's pointless, but reduces | 273 | /* Cast sk->rcvbuf to unsigned... It's pointless, but reduces |
274 | number of warnings when compiling with -W --ANK | 274 | number of warnings when compiling with -W --ANK |
275 | */ | 275 | */ |
276 | if (atomic_read(&sk->sk_rmem_alloc) + skb->truesize >= | 276 | if (atomic_read(&sk->sk_rmem_alloc) + skb->truesize >= |