sfc: Only count bad packets in rx_errors
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 1 Jun 2010 11:21:05 +0000 (11:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Jun 2010 09:21:10 +0000 (02:21 -0700)
commitd188ceeb3dcc6766db34021b36371a14c21ebd74
tree8a857594a488b6f80e8a9c0bd028ee47449a46ba
parent62b330baede3849897ce7fc5534eadc34cd03a51
sfc: Only count bad packets in rx_errors

rx_errors is defined as 'bad packets received', but we are currently
including various overflow errors as well.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/efx.c