Files
kernel_arpi/include/linux
Eric Dumazet ccf434380d net: fix dev_seq_next()
Commit c6d14c8456 (net: Introduce for_each_netdev_rcu() iterator)
added a race in dev_seq_next().

The rcu_dereference() call should be done _before_ testing the end of
list, or we might return a wrong net_device if a concurrent thread
changes net_device list under us.

Note : discovered thanks to a sparse warning :

net/core/dev.c:3919:9: error: incompatible types in comparison expression
(different address spaces)

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-01-27 15:02:56 -08:00
..
2011-01-12 14:37:42 +09:00
2011-01-20 18:30:17 -08:00
2011-01-20 18:30:17 -08:00
2010-11-23 20:14:46 +00:00
2009-04-01 08:59:23 -07:00
2011-01-15 20:07:45 -05:00
2011-01-13 08:03:12 -08:00
2010-12-13 16:11:13 -08:00
2010-10-25 21:18:20 -04:00
2010-11-29 08:35:12 +11:00
2010-12-16 17:53:38 +01:00
2005-04-16 15:20:36 -07:00
2011-01-10 08:51:44 -08:00
2010-05-19 22:41:57 -04:00
2010-05-10 16:08:01 -07:00
2007-02-09 17:39:36 -05:00
2008-01-28 23:21:18 +01:00
2007-06-01 08:18:29 -07:00
2009-11-04 09:50:58 -08:00
2011-01-12 20:16:43 -05:00
2005-04-16 15:20:36 -07:00
2010-08-19 17:18:03 -07:00
2011-01-17 03:26:26 -05:00
2010-12-08 10:30:34 -08:00
2011-01-10 08:51:44 -08:00
2005-04-16 15:20:36 -07:00
2011-01-07 17:50:27 +11:00
2011-01-07 17:50:23 +11:00
2010-12-07 20:16:56 +01:00
2006-10-02 07:57:12 -07:00
2011-01-24 14:45:11 +10:30
2011-01-10 07:38:53 -08:00
2010-11-15 22:40:38 +01:00
2011-01-10 22:11:23 +01:00
2010-11-16 10:58:30 -08:00
2005-04-16 15:20:36 -07:00
2011-01-22 17:34:25 +01:00
2009-09-26 10:17:19 -07:00
2010-11-24 11:16:42 -08:00
2011-01-22 17:34:25 +01:00
2010-12-09 20:17:07 -08:00
2011-01-13 17:32:31 -08:00
2011-01-24 14:45:11 +10:30
2011-01-13 17:32:47 -08:00
2011-01-24 14:45:11 +10:30
2010-12-22 10:27:53 +01:00
2007-07-17 10:23:03 -07:00
2011-01-14 13:12:45 +00:00
2009-04-28 07:37:28 +02:00
2010-06-16 18:03:15 +02:00
2010-12-06 11:03:46 -08:00
2011-01-13 17:32:41 -08:00
2005-04-16 15:20:36 -07:00
2011-01-13 17:32:46 -08:00
2011-01-13 17:32:43 -08:00
2011-01-16 13:47:07 -05:00
2006-11-30 04:40:22 +01:00
2008-06-06 11:29:12 -07:00
2011-01-27 15:02:56 -08:00
2011-01-10 15:40:52 -05:00
2011-01-13 17:32:43 -08:00
2005-04-16 15:20:36 -07:00
2011-01-16 13:47:07 -05:00
2010-12-16 11:36:43 +01:00
2010-12-24 15:04:41 +01:00
2010-12-10 15:06:43 +01:00
2006-10-03 23:01:26 +02:00
2011-01-13 08:03:21 -08:00
2009-12-02 09:55:33 +01:00
2010-02-10 17:47:17 -08:00
2011-01-14 02:36:43 +00:00
2010-11-15 13:24:06 -05:00
2011-01-13 08:03:18 -08:00
2011-01-13 17:32:42 -08:00
2010-03-12 15:53:10 -08:00
2011-01-13 17:32:43 -08:00
2011-01-10 09:46:24 +11:00
2011-01-07 17:50:27 +11:00
2008-02-07 08:42:34 -08:00
2011-01-13 08:03:19 -08:00
2011-01-24 15:32:47 -08:00
2007-05-08 11:15:18 -07:00
2010-01-14 22:38:09 -05:00
2011-01-13 17:32:42 -08:00
2005-04-16 15:20:36 -07:00
2010-05-15 23:28:39 -07:00
2011-01-12 05:14:15 -05:00
2009-02-18 15:37:53 -08:00
2011-01-13 08:03:20 -08:00
2010-11-29 08:55:25 +11:00
2010-11-29 08:55:22 +11:00
2011-01-07 20:57:22 -05:00
2010-12-20 09:37:33 +01:00
2010-12-16 10:05:06 -08:00
2005-04-16 15:20:36 -07:00
2011-01-24 14:45:11 +10:30
2010-11-15 13:25:02 -05:00
2011-01-13 08:03:24 -08:00