Search Linux Wireless

Re: [PATCH] brcmsmac: mac80211_if: Fix a resource leak in an error handling path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 12-05-2021 22:58, Christophe JAILLET wrote:
If 'brcms_attach()' fails, we must undo the previous 'ieee80211_alloc_hw()'
as already done in the remove function.

Acked-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
Fixes: 5b435de0d786 ("net: wireless: add brcm80211 drivers")
Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
---
  .../wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c    | 8 +++++++-
  1 file changed, 7 insertions(+), 1 deletion(-)



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux