Eric Dumazet
c1a8f1f1c8
net: restore gnet_stats_basic to previous definition
...
In 5e140dfc1fe87eae27846f193086724806b33c7d "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
..
2009-06-03 02:51:04 -07:00
2009-02-18 16:29:08 +01:00
2009-06-15 03:02:23 -07:00
2009-06-08 17:01:51 +02:00
2009-06-12 18:01:46 +02:00
2009-02-01 00:45:17 -08:00
2009-07-16 14:03:40 +02:00
2009-06-13 12:30:52 +02:00
2009-06-25 16:32:52 +02:00
2009-06-25 16:32:52 +02:00
2009-06-02 20:08:46 +02:00
2008-01-31 19:28:07 -08:00
2009-02-01 00:45:17 -08:00
2008-01-31 19:28:07 -08:00
2009-06-13 12:28:22 +02:00
2009-03-28 23:55:57 -07:00
2008-04-14 11:15:52 +02:00
2009-06-03 02:51:02 -07:00
2009-06-13 12:30:52 +02:00
2009-03-26 15:23:24 -07:00
2009-06-11 16:00:49 +02:00
2009-02-18 16:28:35 +01:00
2009-06-11 16:00:49 +02:00
2009-06-10 14:32:47 +02:00
2009-06-29 14:07:56 +02:00
2009-03-25 21:53:39 +01:00
2009-04-24 15:37:44 +02:00
2009-03-25 18:24:48 +01:00
2008-11-17 16:01:42 +01:00
2008-11-17 16:01:42 +01:00
2009-03-25 21:05:46 +01:00
2008-11-17 16:01:42 +01:00
2008-10-08 11:35:00 +02:00
2009-06-22 14:15:30 +02:00
2009-05-08 10:30:46 +02:00
2008-10-08 11:35:11 +02:00
2009-02-04 16:55:27 -08:00
2009-05-27 15:49:11 +02:00
2009-06-10 01:11:23 -07:00
2009-06-03 10:32:06 +02:00
2009-06-13 12:32:39 +02:00
2008-10-08 11:35:19 +02:00
2009-06-22 14:15:02 +02:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:20 +02:00
2009-03-25 21:05:46 +01:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:20 +02:00
2009-06-29 14:31:46 +02:00
2008-12-14 23:19:02 -08:00
2008-10-08 11:35:18 +02:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:18 +02:00
2009-05-27 15:45:34 +02:00
2008-10-08 11:35:20 +02:00
2009-02-18 18:39:31 +01:00
2009-02-18 18:38:40 +01:00
2008-10-31 00:54:29 -07:00
2009-02-20 10:55:14 +01:00
2008-10-08 11:35:18 +02:00
2009-03-16 15:35:29 +01:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:18 +02:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:18 +02:00
2008-11-04 14:21:08 +01:00
2009-06-22 14:15:02 +02:00
2008-10-08 11:35:20 +02:00
2009-07-16 14:01:54 +02:00
2008-11-14 10:39:25 +11:00
2009-03-25 17:31:52 +01:00
2008-10-08 11:35:20 +02:00
2009-06-03 02:51:04 -07:00
2009-06-22 14:16:45 +02:00
2009-06-22 14:17:12 +02:00
2009-08-17 21:33:49 -07:00
2009-06-03 02:51:04 -07:00
2009-04-24 17:05:21 +02:00
2009-02-09 14:34:56 -08:00
2008-10-08 11:35:19 +02:00
2009-06-09 15:16:34 +02:00
2008-10-08 11:35:19 +02:00
2009-03-16 15:35:29 +01:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:18 +02:00
2009-06-03 02:51:04 -07:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:18 +02:00
2009-01-12 21:18:36 -08:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:18 +02:00