net: sk_drops consolidation
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 15 Oct 2009 03:40:11 +0000 (20:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Oct 2009 03:40:11 +0000 (20:40 -0700)
commit766e9037cc139ee25ed93ee5ad11e1450c4b99f6
tree062702b8edf203a6e91d1e6853ab24989617d758
parent48bccd25df71f4f8177cb800f4b288222eb57761
net: sk_drops consolidation

sock_queue_rcv_skb() can update sk_drops itself, removing need for
callers to take care of it. This is more consistent since
sock_queue_rcv_skb() also reads sk_drops when queueing a skb.

This adds sk_drops managment to many protocols that not cared yet.

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