linux_old1/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 staging: adis16255 - TODO issues resolved and typos removed 2010-05-11 14:46:03 -07:00
asus_oled Staging: asus_oled: asus_oled.c: Checkpatch cleanup 2010-05-11 11:35:30 -07:00
batman-adv net: fix 64 bit counters on 32 bit arches 2010-07-07 14:58:56 -07:00
comedi Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2010-05-21 15:26:46 -07:00
crystalhd Staging: crystalhd: Remove typedefs from driver 2010-05-18 14:53:17 -07:00
cx25821 Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
cxt1e1 staging: cxt1e1: fix semaphore build breakage 2010-05-11 14:15:34 -07:00
dream Staging: Use kcalloc or kzalloc 2010-05-14 14:02:56 -07:00
dt3155 Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
dt3155v4l Staging: dt3155v4l: remove private memory allocator 2010-05-18 14:53:17 -07:00
echo staging: trivial: fix typo "seperate" 2010-05-14 13:16:10 -07:00
et131x Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
frontier staging: frontier: switch semaphores to mutexes 2010-05-11 11:35:33 -07:00
go7007 Staging: saa7134-go7007: replace dma_sync_single with dma_sync_single_for_cpu 2010-05-27 09:12:52 -07:00
hv Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
iio Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
line6 Staging: Use kmemdup 2010-05-17 16:31:15 -07:00
memrar staging: memrar depends on RAR_REGISTER 2010-05-11 15:56:19 -07:00
octeon STAGING: octeon-ethernet: Use proper phy addresses for Movidis hardware. 2010-04-30 20:52:53 +01:00
otus Staging: Use kcalloc or kzalloc 2010-05-14 14:02:56 -07:00
panel Staging: Use kcalloc or kzalloc 2010-05-14 14:02:56 -07:00
phison Staging: phison: fix incorrect tabs in phison.c 2010-05-11 11:35:52 -07:00
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 Staging: quatech_usb2: fix coding style issues 2010-05-11 11:35:54 -07:00
ramzswap Staging: ramzswap: Handler for swap slot free callback 2010-05-18 15:07:52 -07:00
rar_register Staging: rar_register: depends on PCI 2010-05-11 11:36:19 -07:00
rt2860 staging: rt2860: use new hex_to_bin() method 2010-05-25 08:07:05 -07:00
rt2870 Staging: rt2870: Allow building on ARM 2010-05-11 11:35:55 -07:00
rt3070 Staging: rt3070: md4.h: Checkpatch cleanup 2010-03-03 16:43:07 -08:00
rtl8187se Staging: Use kmemdup 2010-05-17 16:31:15 -07:00
rtl8192e Staging: Use kmemdup 2010-05-17 16:31:15 -07:00
rtl8192su Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
rtl8192u Staging: Use kmemdup 2010-05-17 16:31:15 -07:00
samsung-laptop backlight: Allow properties to be passed at registration 2010-03-16 19:47:54 +00:00
sep Staging: sep: remove duplicated #include 2010-05-11 11:35:36 -07:00
serqt_usb2 Staging: serqt_usb2: fix space coding style issue in serqt_usb2.c 2010-05-11 11:35:54 -07:00
slicoss net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
sm7xx Staging: Use kcalloc or kzalloc 2010-05-14 14:02:56 -07:00
ti-st staging: ti-st: depends on RFKILL 2010-05-11 14:15:34 -07:00
tm6000 V4L/DVB (13554a): v4l: Use the video_drvdata function in drivers 2010-05-19 12:59:18 -03:00
udlfb Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2010-05-21 15:26:46 -07:00
usbip Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
vme Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
vt6655 Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
vt6656 Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
winbond Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
wlags49_h2 Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
wlags49_h25 Staging: wlags49_h2*: wireless driver Kconfig update 2010-05-11 15:37:26 -07:00
wlan-ng Staging: wlan-ng prism2usb: add suspend/resume 2010-05-17 16:33:28 -07:00
Kconfig Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
Makefile Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
staging.c