net: sk_drops consolidation part 2
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 15 Oct 2009 00:12:40 +0000 (00:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Oct 2009 01:52:54 +0000 (18:52 -0700)
commit8edf19c2fe028563fc6ea9cb1995b8ee4172d4b6
tree55c423bc7e13e99e816d95886f7d340dc1163ffa
parentc720c7e8383aff1cb219bddf474ed89d850336e3
net: sk_drops consolidation part 2

- skb_kill_datagram() can increment sk->sk_drops itself, not callers.

- UDP on IPV4 & IPV6 dropped frames (because of bad checksum or policy checks) increment sk_drops

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/datagram.c
net/ipv4/udp.c
net/ipv6/raw.c
net/ipv6/udp.c