summaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
authorBreno Leitao <leitao@linux.vnet.ibm.com>2010-10-27 10:45:14 +0200
committerDavid S. Miller <davem@davemloft.net>2010-10-27 23:24:13 +0200
commitce45b873028fdf94a24f0850cd554e6fda593e16 (patch)
treeca3ff2670d7a8c12228bdc86d4d0d501facb05a0 /drivers/atm
parentbonding: Fix lockdep warning after bond_vlan_rx_register() (diff)
downloadlinux-ce45b873028fdf94a24f0850cd554e6fda593e16.tar.xz
linux-ce45b873028fdf94a24f0850cd554e6fda593e16.zip
ehea: Fixing statistics
(Applied over Eric's "ehea: fix use after free" patch) Currently ehea stats are broken. The bytes counters are got from the hardware, while the packets counters are got from the device driver. Also, the device driver counters are resetted during the the down process, and the hardware aren't, causing some weird numbers. This patch just consolidates the packets and bytes on the device driver. Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com> Reviewed-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions