r8152: calculate the dropped packets for rx
authorhayeswang <hayeswang@realtek.com>
Fri, 7 Mar 2014 03:04:37 +0000 (11:04 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Mar 2014 21:24:29 +0000 (16:24 -0500)
commit5e2f7485d233ecd231ea298200d9c9a55c5542f1
tree5cb8a1448de57928666fbee9a58f0d38f2ffb991
parent0c3121fcf10da24dfd667c5bf8d71fcfa261599c
r8152: calculate the dropped packets for rx

Continue dealing with the remain rx packets, even though the allocation
of the skb fail. This could calculate the correct dropped packets.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c