r8169: do not account fragments as packets
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 20 Oct 2010 22:25:40 +0000 (22:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Oct 2010 08:32:46 +0000 (01:32 -0700)
commitcac4b22f3d6a2601d896e9ae5147d173342c66f8
treeba66110a18c72f5b0b1007d1bf1ab9faffc42eb7
parent48addcc9edd551d09063148886bd6f3467d74c15
r8169: do not account fragments as packets

Only increase tx_{packets,dropped} statistics when transmit or drop
full skb, not just fragment.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r8169.c