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
..
2009-11-30 16:43:15 -08:00
2010-05-17 17:24:04 +01:00
2008-07-25 10:53:29 -07:00
2010-05-20 13:21:49 -07:00
2010-03-02 14:54:57 -08:00
2009-12-23 11:34:20 -08:00
2009-03-24 16:20:33 -07:00
2010-03-30 22:02:32 +09:00
2009-01-07 09:59:58 -08:00
2010-05-20 13:21:43 -07:00
2010-05-20 13:21:43 -07:00
2010-05-20 13:21:30 -07:00
2010-05-20 13:21:43 -07:00
2010-03-02 14:53:40 -08:00
2010-05-20 13:21:43 -07:00
2010-03-30 22:02:32 +09:00
2010-05-20 13:21:43 -07:00
2010-03-30 22:02:32 +09:00
2010-05-20 13:21:44 -07:00
2010-05-20 13:21:35 -07:00
2010-03-30 22:02:32 +09:00
2010-05-20 13:21:45 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-20 13:21:43 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-20 13:21:41 -07:00
2010-05-20 13:21:41 -07:00
2010-03-04 08:15:33 -08:00
2010-05-20 13:21:44 -07:00
2010-05-22 00:10:40 -06:00
2009-11-11 21:43:20 -06:00
2010-05-20 13:21:40 -07:00
2009-06-15 21:44:47 -07:00
2010-05-20 13:21:43 -07:00
2009-03-24 16:20:45 -07:00
2010-03-19 07:24:22 -07:00
2010-03-30 22:02:32 +09:00
2010-03-19 07:24:19 -07:00
2008-07-25 10:53:29 -07:00
2010-05-20 13:21:40 -07:00
2010-03-30 22:02:32 +09:00
2009-03-24 16:20:29 -07:00
2010-03-02 14:54:52 -08:00
2010-05-20 13:21:45 -07:00
2009-07-12 12:22:34 -07:00
2009-06-15 21:44:47 -07:00
2010-03-30 22:02:32 +09:00
2008-08-07 09:55:48 +01:00
2010-03-30 22:02:32 +09:00
2009-07-23 13:04:15 +09:00
2010-05-20 13:21:44 -07:00
2010-03-02 14:54:49 -08:00
2010-03-19 07:24:24 -07:00
2009-03-24 16:20:33 -07:00
2008-10-17 14:40:52 -07:00
2010-03-02 14:54:02 -08:00
2009-11-22 10:24:32 -08:00
2008-07-25 10:53:29 -07:00
2010-05-27 22:05:02 -04:00
2010-03-02 07:40:51 +08:00
2009-09-23 06:46:23 -07:00
2010-03-30 22:02:32 +09:00
2010-05-20 13:21:36 -07:00
2010-04-05 11:37:28 +09:00
2009-10-06 10:59:03 +09:00
2010-07-07 14:58:56 -07:00
2009-09-23 06:46:35 -07:00
2009-09-23 06:46:35 -07:00
2010-04-30 09:25:11 -07:00
2009-03-24 16:20:33 -07:00
2010-05-21 18:31:21 -04:00
2010-03-30 22:02:32 +09:00
2009-12-23 11:34:20 -08:00
2010-05-20 13:21:43 -07:00
2010-03-02 14:54:57 -08:00
2008-12-17 15:49:09 -08:00
2010-03-30 22:02:32 +09:00
2008-10-17 14:40:53 -07:00
2009-05-08 19:34:56 -07:00
2010-05-20 13:21:41 -07:00
2010-05-20 13:21:41 -07:00
2010-05-20 13:21:41 -07:00
2010-05-20 13:21:41 -07:00
2010-05-20 13:21:41 -07:00
2010-05-20 13:21:42 -07:00
2010-03-30 22:02:32 +09:00