#1917: WDS related race condition with UASPD_TRIG
----------------------------------+-----------------------------------------
 Reporter:  [EMAIL PROTECTED]  |             Type:  defect
   Status:  new                   |         Priority:  minor 
Component:  madwifi: other        |          Version:  v0.9.4
 Keywords:                        |   Patch_attached:  0     
----------------------------------+-----------------------------------------
 I found another deadlock in 0.9.4.

 Here is the stack trace. Since this happens in the interrupt handler, it
 kills the machine. So this is hand written, not cut and paste:
 {{{
 node_cleanup
 ath_node_cleanup
 node_free
 _ieee80211_free_node
 ieee80211_free_node
 ath_tx_processq
 ath_tx_tasklets
 tasklet_action
 ...
 }}}
 ieee80211_free_node() locks ic.
 node_cleanup also locks ni->ni_ic, in the following code fragment:
 {{{
                 if (ni->ni_flags & IEEE80211_NODE_UAPSD_TRIG) {
                         ni->ni_flags &= ~IEEE80211_NODE_UAPSD_TRIG;
                         IEEE80211_LOCK_IRQ(ni->ni_ic);
                         ni->ni_ic->ic_uapsdmaxtriggers--;
                         IEEE80211_UNLOCK_IRQ(ni->ni_ic);
  }}}

-- 
Ticket URL: <http://madwifi.org/ticket/1917>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to