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

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


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

commit d2e7f0d14e326d61e28608cea197d12c1ee9be5d
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/d2e7f0d14e326d61e28608cea197d12c1ee9be5d


-- 
DragonFly BSD source repository



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