Re: [RFC] mac80211: Potential sleep in atomic context in __ieee80211_wake_txqs

From: Sebastian Andrzej Siewior
Date: Tue Aug 19 2025 - 06:13:23 EST


On 2025-08-19 01:56:00 [+0900], Yunseong Kim wrote:
> Hi,
Hi,

> I found a potential PREEMPT_RT issue I noticed in __ieee80211_wake_txqs()
>
> static void __ieee80211_wake_txqs(struct ieee80211_sub_if_data *sdata, int ac)
> {
> ...
> local_bh_disable();
> spin_lock(&fq->lock);
> ...
> }
>
> This sequence of local_bh_disable() followed by spin_lock(). On an

As explained in the previous mail regarding for
inet_twsk_hashdance_schedule(), this is fine.

> Best regards,
> Yunseong Kim

Sebastian