yongari
085f670a14
The IFF_DRV_RUNNING flag is set at the end of bge_init_locked. But
...
before setting the flag, interrupt was already enabled such that
interrupt handler could be run before setting IFF_DRV_RUNNING flag.
This can lose initial link state change interrupt which in turn
make bge(4) think that it still does not have valid link. Fix this
race by protecting the taskqueue with a driver lock.
While I'm here move reenabling interrupt code after handling of link
state chage.
Reviewed by: davidch
2010-10-11 23:07:12 +00:00
..
2010-10-08 07:19:05 +00:00
2010-10-06 22:41:32 +00:00
2010-10-08 12:40:16 +00:00
2010-03-19 00:19:55 +00:00
2010-09-22 05:17:18 +00:00
2010-10-10 20:49:33 +00:00
2010-10-06 18:51:22 +00:00
2010-10-11 21:53:03 +00:00
2010-10-02 05:43:17 +00:00
2010-09-25 10:32:52 +00:00
2010-07-12 10:18:10 +00:00
2010-10-11 23:07:12 +00:00
2010-10-10 07:05:47 +00:00
2010-09-30 17:05:23 +00:00
2010-10-09 20:20:27 +00:00
2010-10-10 07:05:47 +00:00
2010-10-05 17:06:51 +00:00
2010-09-29 21:53:11 +00:00
2010-09-10 11:19:03 +00:00
2010-10-10 07:05:47 +00:00
2010-03-19 00:19:55 +00:00
2010-09-24 15:01:45 +00:00
2010-10-06 15:37:55 +00:00
2010-10-04 23:22:03 +00:00
2010-10-01 15:14:14 +00:00
2010-10-01 09:18:30 +00:00
2010-03-19 00:19:55 +00:00
2010-08-02 22:26:08 +00:00
2010-10-01 15:38:35 +00:00
2010-09-27 19:26:56 +00:00
2010-05-24 16:27:47 +00:00
2010-03-19 00:19:55 +00:00
2010-03-19 00:19:55 +00:00
2010-04-07 16:50:38 +00:00
2010-04-07 16:50:38 +00:00
2010-07-24 22:11:11 +00:00
2010-09-12 19:06:08 +00:00
2010-08-26 23:41:40 +00:00
2010-09-24 15:01:45 +00:00
2010-09-23 11:52:32 +00:00
2010-09-24 09:04:16 +00:00
2010-09-30 17:37:08 +00:00
2010-10-05 18:08:07 +00:00
2010-09-24 15:01:45 +00:00
2010-09-10 16:42:16 +00:00
2010-10-08 14:59:45 +00:00
2010-10-08 14:50:58 +00:00
2010-10-11 21:16:50 +00:00
2010-08-09 18:07:15 +00:00
2010-08-22 11:18:57 +00:00
2010-10-10 07:05:47 +00:00
2010-10-04 16:49:40 +00:00
2010-09-18 07:36:43 +00:00
2010-03-19 00:19:55 +00:00
2010-03-19 00:19:55 +00:00
2010-03-19 00:19:55 +00:00