linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/3] mac80211 tx mq aggregation fixes
@ 2008-07-19  0:41 Johannes Berg
  2008-07-19  0:41 ` [RFC 1/3] mac80211: sane arguments to ieee80211_ht_agg_queue_remove Johannes Berg
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Johannes Berg @ 2008-07-19  0:41 UTC (permalink / raw)
  To: linux-wireless; +Cc: David Miller, Ron Rindjunsky

As we discussed earlier, there is now a race in mac80211 where 
you can get packets queued onto the aggregation queue while draining
it, and some can be left on there. Fixing that is achieved by deferring
the draining to a workqueue and calling synchronize_net() before doing   
it.

Also noticed another problem: when we start aggregation we add the
queue before the hardware said it's ok, thus we can end up queuing    
packets to a new aggregation queue we won't be using, fix that one    
before since it was easier.        

Locking gets a bit tricky unfortunately.

johannes


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-07-19  0:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-19  0:41 [RFC 0/3] mac80211 tx mq aggregation fixes Johannes Berg
2008-07-19  0:41 ` [RFC 1/3] mac80211: sane arguments to ieee80211_ht_agg_queue_remove Johannes Berg
2008-07-19  0:41 ` [RFC 2/3] mac80211: fix race during adding HT queues Johannes Berg
2008-07-19  0:41 ` [RFC 3/3] mac80211: fix requeue race Johannes Berg
2008-07-19  0:52   ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).