From: Eric Dumazet Date: Thu, 2 Sep 2010 19:45:02 +0000 (-0700) Subject: bna: fix stats handling X-Git-Tag: v2.6.37-rc1~147^2~585 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=250e061e1d3e26600236a3dd9172e7f5f5916c00;p=pandora-kernel.git 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 Acked-by: Rasesh Mody Signed-off-by: David S. Miller --- Reading git-diff-tree failed