linux/drivers/net/wireless/ath
Miaoqian Lin 315772133a ath10k: Fix error handling in ath10k_setup_msa_resources
[ Upstream commit 9747a78d5f ]

The device_node pointer is returned by of_parse_phandle() with refcount
incremented. We should use of_node_put() on it when done.

This function only calls of_node_put() in the regular path.
And it will cause refcount leak in error path.

Fixes: 727fec790e ("ath10k: Setup the msa resources before qmi init")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Reviewed-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220308070238.19295-1-linmq006@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:40:20 +02:00
..
ar5523 ar5523: Fix null-ptr-deref with unexpected WDCMSG_TARGET_START reply 2022-01-27 10:54:10 +01:00
ath5k ath5k: fix building with LEDS=m 2021-10-13 10:04:25 +02:00
ath6kl ath6kl: fix control-message timeout 2021-11-18 14:03:45 +01:00
ath9k ath9k_htc: fix uninit value bugs 2022-04-08 14:40:13 +02:00
ath10k ath10k: Fix error handling in ath10k_setup_msa_resources 2022-04-08 14:40:20 +02:00
ath11k ath11k: Fix napi related hang 2022-01-27 10:54:18 +01:00
carl9170 carl9170: fix missing bit-wise or operator for tx_params 2022-04-08 14:39:56 +02:00
wcn36xx wcn36xx: Differentiate wcn3660 from wcn3620 2022-03-28 09:57:10 +02:00
wil6210 wil6210: select CONFIG_CRC32 2021-01-17 14:17:02 +01:00
ath.h ath: Modify ath_key_delete() to not need full key entry 2021-08-26 08:35:32 -04:00
debug.c
dfs_pattern_detector.c ath: dfs_pattern_detector: Fix possible null-pointer dereference in channel_detector_create() 2021-11-18 14:03:57 +01:00
dfs_pattern_detector.h ath: add support to get the detected radar specifications 2018-05-25 13:15:21 +03:00
dfs_pri_detector.c
dfs_pri_detector.h ath: add support to get the detected radar specifications 2018-05-25 13:15:21 +03:00
hw.c
Kconfig Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2020-06-15 20:18:39 +03:00
key.c ath: Modify ath_key_delete() to not need full key entry 2021-08-26 08:35:32 -04:00
main.c
Makefile ath11k: driver for Qualcomm IEEE 802.11ax devices 2019-11-25 14:16:34 +02:00
reg.h
regd_common.h ath: regd: add extra US coutry codes 2019-02-07 17:02:19 +02:00
regd.c Revert "ath: add support for special 0x0 regulatory domain" 2022-03-28 09:57:10 +02:00
regd.h ath: drop duplicated define 2019-04-29 17:55:53 +03:00
spectral_common.h ath11k: add support for spectral scan 2020-06-15 17:21:54 +03:00
trace.c
trace.h