Eric Dumazet
6755aebaaf
can: should not use __dev_get_by_index() without locks
...
bcm_proc_getifname() is called with RTNL and dev_base_lock
not held. It calls __dev_get_by_index() without locks, and
this is illegal (might crash)
Close the race by holding dev_base_lock and copying dev->name
in the protected section.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-11-08 00:33:43 -08:00
..
2009-09-23 22:26:32 +09:30
2009-05-25 01:53:53 -07:00
2009-09-26 20:16:07 -07:00
2009-09-14 17:02:47 -07:00
2009-09-30 16:12:20 -07:00
2009-09-30 16:44:12 -07:00
2009-10-19 19:36:49 -07:00
2009-11-05 20:46:52 -08:00
2009-11-08 00:33:43 -08:00
2009-10-30 12:25:12 -07:00
2009-09-26 20:16:15 -07:00
2009-09-30 16:12:20 -07:00
2009-11-06 00:50:39 -08:00
2009-09-01 01:13:07 -07:00
2009-08-12 17:44:53 -07:00
2009-05-25 01:53:53 -07:00
2009-09-30 16:12:20 -07:00
2009-11-06 20:33:40 -08:00
2009-10-30 12:25:12 -07:00
2009-09-30 16:12:20 -07:00
2009-09-30 16:12:20 -07:00
2009-09-30 16:12:20 -07:00
2009-09-02 01:03:53 -07:00
2009-07-05 19:15:35 -07:00
2009-09-30 16:12:20 -07:00
2009-11-02 15:14:07 -05:00
2009-11-06 18:08:32 -08:00
2009-07-30 19:22:43 -07:00
2009-09-30 16:12:20 -07:00
2009-09-30 16:12:20 -07:00
2009-10-29 03:19:11 -07:00
2009-09-30 16:41:34 -07:00
2009-09-30 16:12:20 -07:00
2009-08-04 16:44:23 -04:00
2009-11-05 20:56:07 -08:00
2009-09-30 16:12:20 -07:00
2009-10-11 23:03:47 -07:00
2009-09-30 16:12:20 -07:00
2009-10-30 12:25:12 -07:00
2009-09-30 16:12:20 -07:00
2009-10-18 23:17:37 -07:00
2009-07-12 12:22:34 -07:00
2009-06-11 11:12:48 -07:00
2009-11-02 15:14:07 -05:00
2009-09-30 16:12:20 -07:00
2009-09-02 01:03:53 -07:00
2009-09-30 16:12:20 -07:00
2009-07-15 08:53:39 -07:00
2009-07-12 20:11:14 -07:00
2009-09-30 16:12:20 -07:00
2009-03-16 16:23:30 +01:00