[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20210422140053.437B6C4338A@smtp.codeaurora.org>
Date: Thu, 22 Apr 2021 14:00:53 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Shuah Khan <skhan@...uxfoundation.org>
Cc: davem@...emloft.net, kuba@...nel.org,
Shuah Khan <skhan@...uxfoundation.org>,
ath10k@...ts.infradead.org, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org, pavel@....cz
Subject: Re: [PATCH] ath10k: Fix ath10k_wmi_tlv_op_pull_peer_stats_info()
unlock
without lock
Shuah Khan <skhan@...uxfoundation.org> wrote:
> ath10k_wmi_tlv_op_pull_peer_stats_info() could try to unlock RCU lock
> winthout locking it first when peer reason doesn't match the valid
> cases for this function.
>
> Add a default case to return without unlocking.
>
> Fixes: 09078368d516 ("ath10k: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()")
> Reported-by: Pavel Machek <pavel@....cz>
> Signed-off-by: Shuah Khan <skhan@...uxfoundation.org>
> Signed-off-by: Kalle Valo <kvalo@...eaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
eaaf52e4b866 ath10k: Fix ath10k_wmi_tlv_op_pull_peer_stats_info() unlock without lock
--
https://patchwork.kernel.org/project/linux-wireless/patch/20210406230228.31301-1-skhan@linuxfoundation.org/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists