Files
i2som-imx-linux/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-20 18:30:17 -08:00
2011-01-20 18:30:17 -08:00
2011-01-15 20:07:45 -05:00
2011-01-17 03:26:26 -05:00
2011-01-24 14:45:11 +10:30
2011-01-22 17:34:25 +01:00
2011-01-22 17:34:25 +01:00
2011-01-24 14:45:11 +10:30
2011-01-24 14:45:11 +10:30
2011-01-14 13:12:45 +00:00
2011-01-16 13:47:07 -05:00
2011-01-27 15:02:56 -08:00
2011-01-16 13:47:07 -05:00
2011-01-24 15:32:47 -08:00
2011-01-24 14:45:11 +10:30