summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt73usb.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-09-02 21:45:02 +0200
committerDavid S. Miller <davem@davemloft.net>2010-09-02 21:45:02 +0200
commit250e061e1d3e26600236a3dd9172e7f5f5916c00 (patch)
tree4f52da41f1b254538b75e4ba84a8e4f1c2a23b2b /drivers/net/wireless/rt2x00/rt73usb.c
parentnet: arp: code cleanup (diff)
downloadlinux-250e061e1d3e26600236a3dd9172e7f5f5916c00.tar.xz
linux-250e061e1d3e26600236a3dd9172e7f5f5916c00.zip
bna: fix stats handling
get_stats() method incorrectly clears a global array before folding various stats. This can break SNMP applications. Switch to 64 bit flavor to work on a user supplied buffer, and provide 64bit counters even on 32bit arches. Fix a bug in bnad_netdev_hwstats_fill(), for rx_fifo_errors, missing a folding (only the last counter was taken into account) Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Acked-by: Rasesh Mody <rmody@brocade.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt73usb.c')
0 files changed, 0 insertions, 0 deletions