linux/include
Eric Dumazet c1a8f1f1c8 net: restore gnet_stats_basic to previous definition
In 5e140dfc1f "net: reorder struct Qdisc
for better SMP performance" the definition of struct gnet_stats_basic
changed incompatibly, as copies of this struct are shipped to
userland via netlink.

Restoring old behavior is not welcome, for performance reason.

Fix is to use a private structure for kernel, and
teach gnet_stats_copy_basic() to convert from kernel to user land,
using legacy structure (struct gnet_stats_basic)

Based on a report and initial patch from Michael Spang.

Reported-by: Michael Spang <mspang@csclub.uwaterloo.ca>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-08-17 21:33:49 -07:00
..
acpi Revert "ACPICA: Remove obsolete acpi_os_validate_address interface" 2009-07-27 18:42:38 -04:00
asm-generic
crypto
drm drm/radeon: Add support for RS880 chips 2009-08-05 12:07:09 +10:00
keys
linux net: restore gnet_stats_basic to previous definition 2009-08-17 21:33:49 -07:00
math-emu
media
mtd
net net: restore gnet_stats_basic to previous definition 2009-08-17 21:33:49 -07:00
pcmcia
rdma
rxrpc
scsi
sound
trace perf_counter: Fix/complete ftrace event records sampling 2009-08-09 12:53:48 +02:00
video
xen
Kbuild