RFC mac80211 tx mq aggregation fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mac80211: sane arguments to ieee80211_ht_agg_queue_removenet/ net/ net/ | +7 | 0 replies | |
| 2/3 | mac80211: fix race during adding HT queuesnet/ net/ net/ | +26 | 0 replies | |
| 3/3 | mac80211: fix requeue racedrivers/ include/ net/ +3 more | +175 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/3] mac80211 tx mq aggregation fixes
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