git: DragonFly_RELEASE_3_0 kernel - Fix lockmgr lock mismatch panics when iwn used without wlan
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Feb 1 19:45:21 PST 2012
commit d2e7f0d14e326d61e28608cea197d12c1ee9be5d
Author: Matthew Dillon <dillon at 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
More information about the Commits
mailing list