android_kernel_oneplus_msm8998/drivers/net/wireless
Alexey Khoroshilov a33ba2d2aa mac80211_hwsim: fix module init error paths for netlink
[ Upstream commit 05cc09de4c017663a217630682041066f2f9a5cd ]

There is no unregister netlink notifier and family on error paths
in init_mac80211_hwsim(). Also there is an error path where
hwsim_class is not destroyed.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Fixes: 62759361eb ("mac80211-hwsim: Provide multicast event for HWSIM_CMD_NEW_RADIO")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2018-12-21 14:09:51 +01:00
..
ath wil6210: missing length check in wmi_set_ie 2018-12-17 21:55:15 +01:00
b43
b43legacy
brcm80211 brcmfmac: Fix glom_skb leak in brcmf_sdiod_recv_chain 2018-11-10 07:41:38 -08:00
cw1200 cw1200: Don't leak memory if krealloc failes 2018-12-01 09:46:40 +01:00
hostap
ipw2x00
iwlegacy
iwlwifi iwlwifi: mvm: fix regulatory domain update when the firmware starts 2018-12-01 09:46:40 +01:00
libertas
libertas_tf
mediatek mt7601u: check return value of alloc_skb 2018-03-24 10:58:44 +01:00
mwifiex mwifiex: fix p2p device doesn't find in scan problem 2018-12-01 09:46:40 +01:00
orinoco
p54
prism54
realtek rtlwifi: rtl8821ae: fix firmware is not ready to run 2018-07-22 14:25:53 +02:00
rsi rsi: Fix 'invalid vdd' warning in mmc 2018-08-06 16:24:38 +02:00
rt2x00
ti Revert "wlcore: Add missing PM call for wlcore_cmd_wait_for_event_or_timeout()" 2018-12-13 09:21:26 +01:00
zd1211rw
adm8211.c
adm8211.h
airo.c
airo.h
airo_cs.c
at76c50x-usb.c
at76c50x-usb.h
atmel.c
atmel.h
atmel_cs.c
atmel_pci.c
Kconfig
mac80211_hwsim.c mac80211_hwsim: fix module init error paths for netlink 2018-12-21 14:09:51 +01:00
mac80211_hwsim.h
Makefile
mwl8k.c
ray_cs.c ray_cs: Avoid reading past end of buffer 2018-04-13 19:50:09 +02:00
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: potential buffer overflow in rndis_wlan_auth_indication() 2018-10-10 08:52:06 +02:00
wl3501.h
wl3501_cs.c
zd1201.c
zd1201.h