git: iwn - Fix global serializer usage for iwn_init().

看板DFBSD_commit作者時間15年前 (2011/03/14 19:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 482ec9482bbe84398e1dfdb8d5253a61c453a824 Author: Joe Talbott <josepht@dragonflybsd.org> Date: Tue Jan 25 07:50:55 2011 -0500 iwn - Fix global serializer usage for iwn_init(). Iwn_init_locked() calls iwn_read_firmware() which must drop the serializer since reading the firmware can block in a taskq. Iwn_init_locked() is called by several entry points which must be serialized thus ensure that iwn_init_locked() is always called with the serializer held. Reported-By: kaspair via IRC Bug-Id: 1964 Summary of changes: sys/dev/netif/iwn/if_iwn.c | 20 ++++++++++++-------- 1 files changed, 12 insertions(+), 8 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/482ec9482bbe84398e1dfdb8d5253a61c453a824 -- DragonFly BSD source repository
文章代碼(AID): #1DVVoyTa (DFBSD_commit)