This is a note to let you know that I've just added the patch titled cfg80211: check wdev->netdev in connection work to the 3.9-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: cfg80211-check-wdev-netdev-in-connection-work.patch and it can be found in the queue-3.9 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From c815797663b72e3ac1736f1886538152bc48e4af Mon Sep 17 00:00:00 2001 From: Johannes Berg <johannes.berg@xxxxxxxxx> Date: Thu, 23 May 2013 18:10:21 +0200 Subject: cfg80211: check wdev->netdev in connection work From: Johannes Berg <johannes.berg@xxxxxxxxx> commit c815797663b72e3ac1736f1886538152bc48e4af upstream. If a P2P-Device is present and another virtual interface triggers the connection work, the system crash because it tries to check if the P2P-Device's netdev (which doesn't exist) is up. Skip any wdevs that have no netdev to fix this. Reported-by: YanBo <dreamfly281@xxxxxxxxx> Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- net/wireless/sme.c | 3 +++ 1 file changed, 3 insertions(+) --- a/net/wireless/sme.c +++ b/net/wireless/sme.c @@ -227,6 +227,9 @@ void cfg80211_conn_work(struct work_stru mutex_lock(&rdev->sched_scan_mtx); list_for_each_entry(wdev, &rdev->wdev_list, list) { + if (!wdev->netdev) + continue; + wdev_lock(wdev); if (!netif_running(wdev->netdev)) { wdev_unlock(wdev); Patches currently in stable-queue which might be from johannes.berg@xxxxxxxxx are queue-3.9/iwlwifi-mvm-prevent-setting-assoc-flag-in-mac_context_cmd.patch queue-3.9/cfg80211-check-wdev-netdev-in-connection-work.patch queue-3.9/iwlwifi-mvm-always-use-scan_type_forced.patch queue-3.9/cfg80211-fix-sending-wowlan-tcp-wakeup-settings.patch queue-3.9/iwlwifi-dvm-fix-zero-lq-cmd-sending-avoidance.patch queue-3.9/iwlwifi-mvm-fix-aggregation-drain-flow.patch queue-3.9/mac80211-close-ap_vlan-interfaces-before-unregistering-all.patch queue-3.9/mac80211-use-just-spin_lock-in-ieee80211_get_tkip_p2k.patch queue-3.9/cfg80211-fix-wiphy_register-error-path.patch queue-3.9/mac80211-fix-ap-mode-frame-matching.patch queue-3.9/cfg80211-fix-wowlan-wakeup-tracing.patch queue-3.9/iwlwifi-mvm-tell-firmware-to-let-multicast-frames-in.patch queue-3.9/mac80211-fix-direct-probe-auth.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