git: iwn - Fix global serializer usage for iwn_init().
Joe Talbott
josepht at crater.dragonflybsd.org
Mon Mar 14 04:20:30 PDT 2011
commit 482ec9482bbe84398e1dfdb8d5253a61c453a824
Author: Joe Talbott <josepht at 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
More information about the Commits
mailing list