Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Mar 2009 14:28:42 +0000
From:      Hugo Silva <hugo@barafranca.com>
To:        freebsd-current@freebsd.org
Cc:        bzeeb+freebsd+lor@zabbadoz.net
Subject:   [ath] [lor] ieee80211_ioctl.c (ath0_node_lock) and ieee80211_node.c (ath0_com_lock)
Message-ID:  <49AFE19A.2020804@barafranca.com>

next in thread | raw e-mail | index | archive | help
lock order reversal:
 1st 0xfffffffe4041c740 ath0_node_lock (ath0_node_lock) @ 
/usr/src/sys/net80211/ieee80211_ioctl.c:1321
 2nd 0xfffffffe4041b018 ath0_com_lock (ath0_com_lock) @ 
/usr/src/sys/net80211/ieee80211_node.c:2426
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
kdb_backtrace() at kdb_backtrace+0x32
_witness_debugger() at _witness_debugger+0x1e
witness_checkorder() at witness_checkorder+0x8c7
_mtx_lock_flags() at _mtx_lock_flags+0xa1
ieee80211_node_leave() at ieee80211_node_leave+0xa8
domlme() at domlme+0x72
setmlme_common() at setmlme_common+0xf8
ieee80211_ioctl_setmlme() at ieee80211_ioctl_setmlme+0x76
ieee80211_ioctl_set80211() at ieee80211_ioctl_set80211+0x4df
ieee80211_ioctl() at ieee80211_ioctl+0x2a6
in_control() at in_control+0xdaa
ifioctl() at ifioctl+0x2f8
soo_ioctl() at soo_ioctl+0x33c
kern_ioctl() at kern_ioctl+0x1a7
ioctl() at ioctl+0x158
syscall() at syscall+0x30c
Xfast_syscall() at Xfast_syscall+0xab
--- syscall (54, FreeBSD ELF64, ioctl), rip = 0x800877f2c, rsp = 
0x7fffffffe978, rbp = 0x2 ---


/usr/src/sys/net80211/ieee80211_ioctl.c:
     $FreeBSD: src/sys/net80211/ieee80211_ioctl.c,v 1.81 2009/02/19 
05:21:54 sam Exp $

/usr/src/sys/net80211/ieee80211_node.c:
     $FreeBSD: src/sys/net80211/ieee80211_node.c,v 1.122 2009/02/20 
23:05:05 sam Exp $

FreeBSD daedalus.lab.local 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Thu Mar  
5 12:16:04 WET 2009     
root@daedalus.lab.local:/usr/obj/usr/src/sys/DAEDALUS  amd64



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49AFE19A.2020804>