diff options
Diffstat (limited to 'package/kernel/mac80211/patches/370-0001-brcmfmac-Fix-exception-handling.patch')
-rw-r--r-- | package/kernel/mac80211/patches/370-0001-brcmfmac-Fix-exception-handling.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/370-0001-brcmfmac-Fix-exception-handling.patch b/package/kernel/mac80211/patches/370-0001-brcmfmac-Fix-exception-handling.patch new file mode 100644 index 0000000000..bcd10314d9 --- /dev/null +++ b/package/kernel/mac80211/patches/370-0001-brcmfmac-Fix-exception-handling.patch @@ -0,0 +1,24 @@ +From: Hante Meuleman <meuleman@broadcom.com> +Date: Fri, 18 Sep 2015 22:08:04 +0200 +Subject: [PATCH] brcmfmac: Fix exception handling. + +In some exception situations the ifp->vif was not properly assigned +which could result in crash. + +Reviewed-by: Arend Van Spriel <arend@broadcom.com> +Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> +Signed-off-by: Hante Meuleman <meuleman@broadcom.com> +Signed-off-by: Arend van Spriel <arend@broadcom.com> +Signed-off-by: Kalle Valo <kvalo@codeaurora.org> +--- + +--- a/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c ++++ b/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c +@@ -6331,6 +6331,7 @@ wiphy_unreg_out: + priv_out: + wl_deinit_priv(cfg); + brcmf_free_vif(vif); ++ ifp->vif = NULL; + wiphy_out: + brcmf_free_wiphy(wiphy); + return NULL; |