Bug 817490
| Summary: | [abrt] kernel: [151742.150829] WARNING: at /root/hostap/hostapd/compat-wireless-2012-04-23/net/mac80211/iface.c:162 ieee80211_check_queues+0x119/0x130 [mac80211]() | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | kalgecin <kalgecin> | ||||
| Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 16 | CC: | gansalmon, itamar, johannes, jonathan, jwboyer, kernel-maint, madhu.chinakonda, sgruszka | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | abrt_hash:b47572e1dd184475ee15ad777d4c0851561d6dbd | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-05-16 13:43:36 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
kalgecin
2012-04-30 09:17:23 UTC
Please try this change
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -206,8 +206,10 @@ static void ieee80211_set_default_queues(struct ieee80211_sub_if_data *sdata)
for (i = 0; i < IEEE80211_NUM_ACS; i++) {
if (local->hw.flags & IEEE80211_HW_QUEUE_CONTROL)
sdata->vif.hw_queue[i] = IEEE80211_INVAL_HW_QUEUE;
- else
+ else if (local->hw.queues >= IEEE80211_NUM_ACS)
sdata->vif.hw_queue[i] = i;
+ else
+ sdata->vif.hw_queue[i] = 0;
}
sdata->vif.cab_queue = IEEE80211_INVAL_HW_QUEUE;
}
Created attachment 582709 [details]
Patch to fix this problem for devices with a single hardware queue
This patch should fix the problem - at least it does for my systems. At the moment, it has not yet been incorporated in the wireless-testing tree, but that should happen soon.
If you are able to test, please report success or failure.
Josh, please apply above patch as fix for this bug. Hm. So it seems the reporter was using a self-built compat-wireless bundle. I'd be happy to apply the patch, but I wanted to make sure it's really needed on a 3.3.x stable series of kernels without compat-wireless. Also, has the fix been CC'd to the stable maintainers if so? Ahh, ok this is fix fo
commit 3a25a8c8b75b430c4f4022918e26fa51d557ecde
Author: Johannes Berg <johannes.berg>
Date: Tue Apr 3 16:28:50 2012 +0200
mac80211: add improved HW queue control
queued for 3.5. That will be fixed upstream before we will start to use it.
|