summaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp.c
diff options
context:
space:
mode:
authorSorin Dumitru <sorin@returnze.ro>2014-07-22 20:16:51 +0200
committerDavid S. Miller <davem@davemloft.net>2014-07-23 22:23:06 +0200
commit274f482d33a309c87096f2983601ceda2761094e (patch)
treedaaf79b42277f9f6fc69b66ae59934ef25b0ab42 /net/ipv4/udp.c
parentdrivers: net: cpsw: add support to dump ALE table via ethtool register dump (diff)
downloadlinux-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/ipv4/udp.c')
-rw-r--r--net/ipv4/udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
index f31053b90ee0..f57c0e4c2326 100644
--- a/net/ipv4/udp.c
+++ b/net/ipv4/udp.c
@@ -1567,7 +1567,7 @@ int udp_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
goto csum_error;
- if (sk_rcvqueues_full(sk, skb, sk->sk_rcvbuf)) {
+ if (sk_rcvqueues_full(sk, sk->sk_rcvbuf)) {
UDP_INC_STATS_BH(sock_net(sk), UDP_MIB_RCVBUFERRORS,
is_udplite);
goto drop;