This is a note to let you know that I've just added the patch titled b43legacy: Fix unload oops if firmware is not available to the 3.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: b43legacy-fix-unload-oops-if-firmware-is-not-available.patch and it can be found in the queue-3.10 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 452028665312672c6ba9e16a19248ee00ead9400 Mon Sep 17 00:00:00 2001 From: Larry Finger <Larry.Finger@xxxxxxxxxxxx> Date: Sun, 12 Jan 2014 15:11:39 -0600 Subject: b43legacy: Fix unload oops if firmware is not available From: Larry Finger <Larry.Finger@xxxxxxxxxxxx> commit 452028665312672c6ba9e16a19248ee00ead9400 upstream. The asyncronous firmware load uses a completion struct to hold firmware processing until the user-space routines are up and running. There is. however, a problem in that the waiter is nevered canceled during teardown. As a result, unloading the driver when firmware is not available causes an oops. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> Signed-off-by: John W. Linville <linville@xxxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/net/wireless/b43legacy/main.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/wireless/b43legacy/main.c +++ b/drivers/net/wireless/b43legacy/main.c @@ -3919,6 +3919,7 @@ static void b43legacy_remove(struct ssb_ * as the ieee80211 unreg will destroy the workqueue. */ cancel_work_sync(&wldev->restart_work); cancel_work_sync(&wl->firmware_load); + complete(&wldev->fw_load_complete); B43legacy_WARN_ON(!wl); if (!wldev->fw.ucode) Patches currently in stable-queue which might be from Larry.Finger@xxxxxxxxxxxx are queue-3.10/b43-fix-lockdep-splat.patch queue-3.10/staging-r8712u-set-device-type-to-wlan.patch queue-3.10/rtlwifi-redo-register-save-locations.patch queue-3.10/rtlwifi-rtl8192cu-add-new-device-id.patch queue-3.10/rtlwifi-rtl8192c-add-new-definitions-in-the-dm_common-header.patch queue-3.10/b43-fix-the-wrong-assignment-of-status.freq-in-b43_rx.patch queue-3.10/b43-fix-unload-oops-if-firmware-is-not-available.patch queue-3.10/rtlwifi-rtl8192cu-add-new-firmware.patch queue-3.10/b43legacy-fix-unload-oops-if-firmware-is-not-available.patch queue-3.10/rtlwifi-rtl8192cu-fix-some-code-in-rf-handling.patch queue-3.10/rtlwifi-set-the-link-state.patch queue-3.10/rtlwifi-increase-the-rx-queue-length-for-usb-drivers.patch queue-3.10/rtlwifi-rtl8192c-add-routines-to-save-restore-power-index-registers.patch queue-3.10/rtlwifi-rtl8192c-prevent-reconnect-attempts-if-not-connected.patch queue-3.10/rtlwifi-rtl8188ee-fix-typo-in-code.patch queue-3.10/rtlwifi-rtl8192cu-update-the-power-index-registers.patch queue-3.10/rtlwifi-add-missing-code-to-pwdb-statics-routine.patch queue-3.10/rtlwifi-update-beacon-statistics-for-usb-driver.patch -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html