Re: [PATCH rtw-next v5 01/10] wifi: rtw89: avoid NULL vif dereference in rtw89_ops_tx()
From: Enver Ikromov
Date: Mon Nov 16 2026 - 10:29:36 EST
On Sun, Nov 15, 2026 at 03:23:04AM +0000, Ping-Ke Shih wrote:
> > rtw89 sets IEEE80211_HW_WANT_MONITOR_VIF but not
> > IEEE80211_HW_QUEUE_CONTROL.
>
> Will this cause vif = NULL? What is their relation?
That background wasn't needed here. The practical trigger is simply
injecting on a passive monitor interface while a station or AP
interface is also up, where mac80211 has no virtual monitor vif and
passes info->control.vif == NULL. I will simplify the commit message
in v6.
> Use vif_to_rtwvif_safe().
Will use vif_to_rtwvif_safe() in v6.
Thanks,
Enver