summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorSorin Dumitru <sorin@returnze.ro>2014-07-22 21:16:51 +0300
committerDavid S. Miller <davem@davemloft.net>2014-07-23 13:23:06 -0700
commit274f482d33a309c87096f2983601ceda2761094e (patch)
treedaaf79b42277f9f6fc69b66ae59934ef25b0ab42 /net/core
parent52c4f0ec662bbf02f1b0bcb311a48af2c8e5ee89 (diff)
sock: remove skb argument from sk_rcvqueues_full
It hasn't been used since commit 0fd7bac(net: relax rcvbuf limits). Signed-off-by: Sorin Dumitru <sorin@returnze.ro> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/sock.c b/net/core/sock.c
index 026e01f70274..ca9b65199d28 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -491,7 +491,7 @@ int sk_receive_skb(struct sock *sk, struct sk_buff *skb, const int nested)
skb->dev = NULL;
- if (sk_rcvqueues_full(sk, skb, sk->sk_rcvbuf)) {
+ if (sk_rcvqueues_full(sk, sk->sk_rcvbuf)) {
atomic_inc(&sk->sk_drops);
goto discard_and_relse;
}