Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 573378 Details for
Bug 770476
[abrt] kernel: WARNING: at /builddir/build/BUILD/kernel-3.1.fc16/compat-wireless-3.2-rc6-3/drivers/net/wireless/iwlwifi/iwl-core.c:1330 iwlagn_mac_remove_interface+0x98/0x120 [iwlwifi]()
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
iwlegacy backport to 3.3
iwlegacy-do-not-nulify-il-vif-on-reset.patch (text/plain), 2.49 KB, created by
Josh Boyer
on 2012-03-28 15:33:37 UTC
(
hide
)
Description:
iwlegacy backport to 3.3
Filename:
MIME Type:
Creator:
Josh Boyer
Created:
2012-03-28 15:33:37 UTC
Size:
2.49 KB
patch
obsolete
>This il->vif is dereferenced in different part of iwlegacy code, so do >not nullify it. This should fix random crashes observed in companion >with microcode errors i.e. crash in il3945_config_ap(). > >Additionally this should address also >WARNING: at drivers/net/wireless/iwlegacy/common.c:4656 il_mac_remove_interface >at least one of the possible reasons of that warning. > >Cc: stable@vger.kernel.org >Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> >--- > drivers/net/wireless/iwlegacy/3945-mac.c | 2 -- > drivers/net/wireless/iwlegacy/4965-mac.c | 2 -- > drivers/net/wireless/iwlegacy/common.c | 15 ++++++++++++--- > 3 files changed, 12 insertions(+), 7 deletions(-) > >--- linux-3.3.noarch.orig/drivers/net/wireless/iwlegacy/3945-mac.c >+++ linux-3.3.noarch/drivers/net/wireless/iwlegacy/3945-mac.c >@@ -2684,7 +2684,6 @@ il3945_bg_restart(struct work_struct *da > > if (test_and_clear_bit(S_FW_ERROR, &il->status)) { > mutex_lock(&il->mutex); >- il->ctx.vif = NULL; > il->is_open = 0; > mutex_unlock(&il->mutex); > il3945_down(il); >--- linux-3.3.noarch.orig/drivers/net/wireless/iwlegacy/4965-mac.c >+++ linux-3.3.noarch/drivers/net/wireless/iwlegacy/4965-mac.c >@@ -5381,7 +5381,6 @@ il4965_bg_restart(struct work_struct *da > > if (test_and_clear_bit(S_FW_ERROR, &il->status)) { > mutex_lock(&il->mutex); >- il->ctx.vif = NULL; > il->is_open = 0; > > __il4965_down(il); >--- linux-3.3.noarch.orig/drivers/net/wireless/iwlegacy/common.c >+++ linux-3.3.noarch/drivers/net/wireless/iwlegacy/common.c >@@ -4575,6 +4575,7 @@ il_mac_add_interface(struct ieee80211_hw > struct il_priv *il = hw->priv; > struct il_vif_priv *vif_priv = (void *)vif->drv_priv; > int err; >+ bool reset; > u32 modes; > > D_MAC80211("enter: type %d, addr %pM\n", vif->type, vif->addr); >@@ -4594,6 +4595,16 @@ il_mac_add_interface(struct ieee80211_hw > goto out; > } > >+ /* >+ * We do not support multiple virtual interfaces, but on hardware reset >+ * we have to add the same interface again. >+ */ >+ reset = (il->ctx.vif == vif); >+ if (il->ctx.vif && !reset) { >+ err = -EOPNOTSUPP; >+ goto out; >+ } >+ > modes = il->ctx.interface_modes | il->ctx.exclusive_interface_modes; > if (!(modes & BIT(vif->type))) { > err = -EOPNOTSUPP; >@@ -4605,8 +4616,11 @@ il_mac_add_interface(struct ieee80211_hw > > err = il_setup_interface(il, &il->ctx); > if (err) { >- il->ctx.vif = NULL; >- il->iw_mode = NL80211_IFTYPE_STATION; >+ IL_WARN("Fail to set mode %d\n", vif->type); >+ if (!reset) { >+ il->ctx.vif = NULL; >+ il->iw_mode = NL80211_IFTYPE_STATION; >+ } > } > > out:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 770476
: 573378 |
573379