linux/drivers/staging
Eric Dumazet 28172739f0 net: fix 64 bit counters on 32 bit arches
There is a small possibility that a reader gets incorrect values on 32
bit arches. SNMP applications could catch incorrect counters when a
32bit high part is changed by another stats consumer/provider.

One way to solve this is to add a rtnl_link_stats64 param to all
ndo_get_stats64() methods, and also add such a parameter to
dev_get_stats().

Rule is that we are not allowed to use dev->stats64 as a temporary
storage for 64bit stats, but a caller provided area (usually on stack)

Old drivers (only providing get_stats() method) need no changes.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-07-07 14:58:56 -07:00
..
adis16255
asus_oled
batman-adv net: fix 64 bit counters on 32 bit arches 2010-07-07 14:58:56 -07:00
comedi
crystalhd
cx25821
cxt1e1
dream
dt3155
dt3155v4l
echo
et131x
frontier
go7007 Staging: saa7134-go7007: replace dma_sync_single with dma_sync_single_for_cpu 2010-05-27 09:12:52 -07:00
hv
iio
line6
memrar
octeon
otus
panel
phison
pohmelfs Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6 2010-05-30 09:11:11 -07:00
quatech_usb2
ramzswap
rar_register
rt2860
rt2870
rt3070
rtl8187se
rtl8192e
rtl8192su
rtl8192u
samsung-laptop
sep
serqt_usb2
slicoss
sm7xx
ti-st
tm6000
udlfb
usbip
vme
vt6655
vt6656
winbond
wlags49_h2
wlags49_h25
wlan-ng
Kconfig
Makefile
staging.c