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

git: kernel - Fix lockmgr lock mismatch panics when iwn used without wlan


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 1 Feb 2012 19:44:58 -0800 (PST)

commit b8b498ed88a72ccd6a0b0fd0d10a2061576f3a47
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Feb 1 19:43:26 2012 -0800

    kernel - Fix lockmgr lock mismatch panics when iwn used without wlan
    
    * If if_iwn is ifconfig'd without going through wlan the wlan_serializer
      is not held during the firmware load stage, resulting in a panic.
      Acquire the serializer for this case.
    
    * Note: iwn worked fine with wlan, but this fixes an annoying panic when
      people try to mess with it without wlan.
    
    Reported-by: fxr (irc)

Summary of changes:
 sys/dev/netif/iwn/if_iwn.c |   47 ++++++++++++++++++++++++++++++++-----------
 1 files changed, 35 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b8b498ed88a72ccd6a0b0fd0d10a2061576f3a47


-- 
DragonFly BSD source repository



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