]> pilppa.com Git - linux-2.6-omap-h63xx.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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Feb 2009 21:41:57 +0000 (13:41 -0800)
commite408b8dcb5ce42243a902205005208e590f28454
treeeb1f29817e168be7b490d4b1be04170162cb440b
parent0afd4a21ba7d75e93fa79cf05d7a21774e149c0f
udp: increments sk_drops in __udp_queue_rcv_skb()

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>
net/ipv4/udp.c