diff options
author | Sorin Dumitru <sorin@returnze.ro> | 2014-07-22 20:16:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-23 22:23:06 +0200 |
commit | 274f482d33a309c87096f2983601ceda2761094e (patch) | |
tree | daaf79b42277f9f6fc69b66ae59934ef25b0ab42 /net/core | |
parent | drivers: net: cpsw: add support to dump ALE table via ethtool register dump (diff) | |
download | linux-274f482d33a309c87096f2983601ceda2761094e.tar.xz linux-274f482d33a309c87096f2983601ceda2761094e.zip |
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.c | 2 |
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; } |