Re: [PATCH ath-next] wifi: ath9k: use rcu_dereference_bh() for sta->rates in ath_merge_ratetbl()

From: Jeff Johnson

Date: Thu Sep 10 2026 - 17:31:56 EST



On Thu, 13 Aug 2026 10:41:02 -0700, Jeff Johnson wrote:
> Commit c4f518736472 ("wifi: ath9k: Remove redundant rcu_read_lock/unlock()
> in spin_lock") removed the explicit rcu_read_lock()/rcu_read_unlock() pair
> from ath_txq_schedule(), relying on spin_lock_bh() to provide an implicit
> RCU read-side critical section.
>
> That is correct on kernels without CONFIG_DEBUG_LOCK_ALLOC, where
> rcu_read_lock_any_held() falls back to !preemptible() as a proxy, and
> spin_lock_bh() disables preemption.
>
> [...]

Applied, thanks!

[1/1] wifi: ath9k: use rcu_dereference_bh() for sta->rates in ath_merge_ratetbl()
commit: 93de43318ecdf0ff5f0e6125fe33a8b30fd10c66

Best regards,
--
Jeff Johnson <jeff.johnson@xxxxxxxxxxxxxxxx>