rpms/kernel/F-13 iwlwifi-cancel-scan-watchdog-in-iwl_bg_abort_scan.patch, NONE, 1.1 kernel.spec, 1.2066, 1.2067

John W. Linville linville at fedoraproject.org
Tue Jun 15 18:39:46 UTC 2010


Author: linville

Update of /cvs/pkgs/rpms/kernel/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv31605

Modified Files:
	kernel.spec 
Added Files:
	iwlwifi-cancel-scan-watchdog-in-iwl_bg_abort_scan.patch 
Log Message:
iwlwifi: cancel scan watchdog in iwl_bg_abort_scan (#590436)

iwlwifi-cancel-scan-watchdog-in-iwl_bg_abort_scan.patch:
 iwl-scan.c |    1 +
 1 file changed, 1 insertion(+)

--- NEW FILE iwlwifi-cancel-scan-watchdog-in-iwl_bg_abort_scan.patch ---
commit a69b03e941abae00380fc6bc1877fb797a1b31e6
Author: John W. Linville <linville at tuxdriver.com>
Date:   Mon Jun 14 14:30:25 2010 -0400

    iwlwifi: cancel scan watchdog in iwl_bg_abort_scan
    
    Avoids this:
    
    WARNING: at net/mac80211/scan.c:312 ieee80211_scan_completed+0x5f/0x1f1
    [mac80211]()
    Hardware name: Latitude E5400
    Modules linked in: aes_x86_64 aes_generic fuse ipt_MASQUERADE iptable_nat
    nf_nat rfcomm sco bridge stp llc bnep l2cap sunrpc cpufreq_ondemand
    acpi_cpufreq freq_table xt_physdev ip6t_REJECT nf_conntrack_ipv6
    ip6table_filter ip6_tables ipv6 kvm_intel kvm uinput arc4 ecb
    snd_hda_codec_intelhdmi snd_hda_codec_idt snd_hda_intel iwlagn snd_hda_codec
    snd_hwdep snd_seq snd_seq_device iwlcore snd_pcm dell_wmi sdhci_pci sdhci
    iTCO_wdt tg3 dell_laptop mmc_core i2c_i801 wmi mac80211 snd_timer
    iTCO_vendor_support btusb joydev dcdbas cfg80211 bluetooth snd soundcore
    microcode rfkill snd_page_alloc firewire_ohci firewire_core crc_itu_t
    yenta_socket rsrc_nonstatic i915 drm_kms_helper drm i2c_algo_bit i2c_core video
    output [last unloaded: scsi_wait_scan]
    Pid: 979, comm: iwlagn Tainted: G        W  2.6.33.3-85.fc13.x86_64 #1
    Call Trace:
    [<ffffffff8104b558>] warn_slowpath_common+0x77/0x8f
    [<ffffffff8104b57f>] warn_slowpath_null+0xf/0x11
    [<ffffffffa01bb7d9>] ieee80211_scan_completed+0x5f/0x1f1 [mac80211]
    [<ffffffffa02a23f0>] iwl_bg_scan_completed+0xbb/0x17a [iwlcore]
    [<ffffffff81060d3d>] worker_thread+0x1a4/0x232
    [<ffffffffa02a2335>] ? iwl_bg_scan_completed+0x0/0x17a [iwlcore]
    [<ffffffff81064817>] ? autoremove_wake_function+0x0/0x34
    [<ffffffff81060b99>] ? worker_thread+0x0/0x232
    [<ffffffff810643c7>] kthread+0x7a/0x82
    [<ffffffff8100a924>] kernel_thread_helper+0x4/0x10
    [<ffffffff8106434d>] ? kthread+0x0/0x82
    [<ffffffff8100a920>] ? kernel_thread_helper+0x0/0x10
    
    Reported here:
    
    	https://bugzilla.redhat.com/show_bug.cgi?id=590436
    
    Signed-off-by: John W. Linville <linville at tuxdriver.com>
    Reported-by: Mihai Harpau <mishu at piatafinanciara.ro>
    Cc: stable at kernel.org
    Acked-by: Reinette Chatre <reinette.chatre at intel.com>

diff --git a/drivers/net/wireless/iwlwifi/iwl-scan.c b/drivers/net/wireless/iwlwifi/iwl-scan.c
index 5d3f51f..386c5f9 100644
--- a/drivers/net/wireless/iwlwifi/iwl-scan.c
+++ b/drivers/net/wireless/iwlwifi/iwl-scan.c
@@ -491,6 +491,7 @@ void iwl_bg_abort_scan(struct work_struct *work)
 
 	mutex_lock(&priv->mutex);
 
+	cancel_delayed_work_sync(&priv->scan_check);
 	set_bit(STATUS_SCAN_ABORTING, &priv->status);
 	iwl_send_scan_abort(priv);
 


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-13/kernel.spec,v
retrieving revision 1.2066
retrieving revision 1.2067
diff -u -p -r1.2066 -r1.2067
--- kernel.spec	14 Jun 2010 10:12:40 -0000	1.2066
+++ kernel.spec	15 Jun 2010 18:39:45 -0000	1.2067
@@ -864,6 +864,9 @@ Patch13000: keys-find-keyring-by-name-ca
 # Disable rt20xx and rt35xx chipset support in rt2800pci and rt2800usb
 Patch13010: rt2x00-rt2800-Make-rt30xx-and-rt35xx-chipsets-configurable.patch
 
+# iwlwifi: cancel scan watchdog in iwl_bg_abort_scan
+Patch13020: iwlwifi-cancel-scan-watchdog-in-iwl_bg_abort_scan.patch
+
 %endif
 
 BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
@@ -1575,6 +1578,9 @@ ApplyPatch keys-find-keyring-by-name-can
 # Disable rt20xx and rt35xx chipset support in rt2800pci and rt2800usb
 ApplyPatch rt2x00-rt2800-Make-rt30xx-and-rt35xx-chipsets-configurable.patch
 
+# iwlwifi: cancel scan watchdog in iwl_bg_abort_scan
+ApplyPatch iwlwifi-cancel-scan-watchdog-in-iwl_bg_abort_scan.patch
+
 # END OF PATCH APPLICATIONS
 
 %endif
@@ -2225,6 +2231,9 @@ fi
 # and build.
 
 %changelog
+* Tue Jun 15 2010 John W. Linville <linville at redhat.com>
+- iwlwifi: cancel scan watchdog in iwl_bg_abort_scan (#590436)
+
 * Mon Jun 14 2010 Kyle McMartin <kyle at redhat.com> 2.6.33.5-129
 - Add btrfs ACL fixes from CVE-2010-2071.
 



More information about the scm-commits mailing list