]> git.karo-electronics.de Git - karo-tx-linux.git/commit
udp: increments sk_drops in __udp_queue_rcv_skb()
authorEric Dumazet <dada1@cosmosbay.com>
Mon, 2 Feb 2009 21:41:57 +0000 (13:41 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Feb 2009 17:46:23 +0000 (09:46 -0800)
commit03b0d4d0c3d219d3b163e4e9b160da9c36057579
tree09822455063226314153683ee9657da4946112bf
parent2c55d86dc58c8e530d8cdff30e8529373dfa4804
udp: increments sk_drops in __udp_queue_rcv_skb()

[ Upstream commit e408b8dcb5ce42243a902205005208e590f28454 ]

Commit 93821778def10ec1e69aa3ac10adee975dad4ff3 (udp: Fix rcv socket
locking) accidentally removed sk_drops increments for UDP IPV4
sockets.

This field can be used to detect incorrect sizing of socket receive
buffers.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/udp.c