DragonFly BSD
DragonFly commits List (threaded) for 2011-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Joe Talbott <josepht@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Mar 2011 04:17:59 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]