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 573379 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]
iwlwifi backport to 3.3
iwlwifi-do-not-nulify-ctx-vif-on-reset.patch (text/plain), 2.01 KB, created by
Josh Boyer
on 2012-03-28 15:34:07 UTC
(
hide
)
Description:
iwlwifi backport to 3.3
Filename:
MIME Type:
Creator:
Josh Boyer
Created:
2012-03-28 15:34:07 UTC
Size:
2.01 KB
patch
obsolete
>ctx->vif is dereferenced in different part of iwlwifi code, so do not >nullify it. > >This should address at least one of the possible reasons of WARNING at >iwlagn_mac_remove_interface, and perhaps some random crashes when >firmware reset is performed. > >Cc: stable@vger.kernel.org >Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> >--- > drivers/net/wireless/iwlwifi/iwl-agn.c | 3 --- > drivers/net/wireless/iwlwifi/iwl-mac80211.c | 10 +++++++++- > 2 files changed, 9 insertions(+), 4 deletions(-) > >--- linux-3.3.noarch.orig/drivers/net/wireless/iwlwifi/iwl-agn.c >+++ linux-3.3.noarch/drivers/net/wireless/iwlwifi/iwl-agn.c >@@ -1403,7 +1403,6 @@ static void iwl_bg_run_time_calib_work(s > > void iwlagn_prepare_restart(struct iwl_priv *priv) > { >- struct iwl_rxon_context *ctx; > bool bt_full_concurrent; > u8 bt_ci_compliance; > u8 bt_load; >@@ -1412,8 +1411,6 @@ void iwlagn_prepare_restart(struct iwl_p > > lockdep_assert_held(&priv->shrd->mutex); > >- for_each_context(priv, ctx) >- ctx->vif = NULL; > priv->is_open = 0; > > /* >--- linux-3.3.noarch.orig/drivers/net/wireless/iwlwifi/iwl-mac80211.c >+++ linux-3.3.noarch/drivers/net/wireless/iwlwifi/iwl-mac80211.c >@@ -1226,6 +1226,7 @@ static int iwlagn_mac_add_interface(stru > struct iwl_rxon_context *tmp, *ctx = NULL; > int err; > enum nl80211_iftype viftype = ieee80211_vif_type_p2p(vif); >+ bool reset = false; > > IWL_DEBUG_MAC80211(priv, "enter: type %d, addr %pM\n", > viftype, vif->addr); >@@ -1247,6 +1248,13 @@ static int iwlagn_mac_add_interface(stru > tmp->interface_modes | tmp->exclusive_interface_modes; > > if (tmp->vif) { >+ /* On reset we need to add the same interface again */ >+ if (tmp->vif == vif) { >+ reset = true; >+ ctx = tmp; >+ break; >+ } >+ > /* check if this busy context is exclusive */ > if (tmp->exclusive_interface_modes & > BIT(tmp->vif->type)) { >@@ -1273,7 +1281,7 @@ static int iwlagn_mac_add_interface(stru > ctx->vif = vif; > > err = iwl_setup_interface(priv, ctx); >- if (!err) >+ if (!err || reset) > goto out; > > ctx->vif = NULL;
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