1. 24 4月, 2012 1 次提交
  2. 12 4月, 2012 2 次提交
  3. 13 3月, 2012 1 次提交
    • S
      rt2x00: fix random stalls · 3780d038
      Stanislaw Gruszka 提交于
      Is possible that we stop queue and then do not wake up it again,
      especially when packets are transmitted fast. That can be easily
      reproduced with modified tx queue entry_num to some small value e.g. 16.
      
      If mac80211 already hold local->queue_stop_reason_lock, then we can wait
      on that lock in both rt2x00queue_pause_queue() and
      rt2x00queue_unpause_queue(). After drooping ->queue_stop_reason_lock
      is possible that __ieee80211_wake_queue() will be performed before
      __ieee80211_stop_queue(), hence we stop queue and newer wake up it
      again.
      
      Another race condition is possible when between rt2x00queue_threshold()
      check and rt2x00queue_pause_queue() we will process all pending tx
      buffers on different cpu. This might happen if for example interrupt
      will be triggered on cpu performing rt2x00mac_tx().
      
      To prevent race conditions serialize pause/unpause by queue->tx_lock.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
      Acked-by: NGertjan van Wingerde <gwingerde@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3780d038
  4. 15 9月, 2011 1 次提交
  5. 08 7月, 2011 3 次提交
  6. 02 6月, 2011 1 次提交
  7. 20 4月, 2011 5 次提交
  8. 05 4月, 2011 2 次提交
  9. 31 3月, 2011 1 次提交
  10. 05 3月, 2011 7 次提交
  11. 22 2月, 2011 1 次提交
  12. 01 2月, 2011 3 次提交
  13. 14 12月, 2010 6 次提交
  14. 18 11月, 2010 1 次提交
  15. 16 11月, 2010 4 次提交
  16. 12 10月, 2010 1 次提交