[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175259902445.3668196.7323548526989354054.b4-ty@oss.qualcomm.com>
Date: Tue, 15 Jul 2025 10:03:44 -0700
From: Jeff Johnson <jeff.johnson@....qualcomm.com>
To: Jeff Johnson <jjohnson@...nel.org>,
Baochen Qiang <quic_bqiang@...cinc.com>
Cc: linux-wireless@...r.kernel.org, ath11k@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH ath-next] wifi: ath11k: fix sleeping-in-atomic in
ath11k_mac_op_set_bitrate_mask()
On Tue, 03 Jun 2025 10:25:28 +0800, Baochen Qiang wrote:
> ath11k_mac_disable_peer_fixed_rate() is passed as the iterator to
> ieee80211_iterate_stations_atomic(). Note in this case the iterator is
> required to be atomic, however ath11k_mac_disable_peer_fixed_rate() does
> not follow it as it might sleep. Consequently below warning is seen:
>
> BUG: sleeping function called from invalid context at wmi.c:304
> Call Trace:
> <TASK>
> dump_stack_lvl
> __might_resched.cold
> ath11k_wmi_cmd_send
> ath11k_wmi_set_peer_param
> ath11k_mac_disable_peer_fixed_rate
> ieee80211_iterate_stations_atomic
> ath11k_mac_op_set_bitrate_mask.cold
>
> [...]
Applied, thanks!
[1/1] wifi: ath11k: fix sleeping-in-atomic in ath11k_mac_op_set_bitrate_mask()
commit: 65c12b104cb942d588a1a093acc4537fb3d3b129
Best regards,
--
Jeff Johnson <jeff.johnson@....qualcomm.com>
Powered by blists - more mailing lists