Re: [PATCH] mac80211: fix issue with possible txq NULL pointer
From: Johannes Berg
Date: Mon Sep 17 2018 - 03:41:06 EST
On Fri, 2018-09-14 at 18:00 +0200, Erik Stromdahl wrote:
> Drivers that do not have the BUFF_MMPDU_TXQ flag set will not have a
> TXQ for the special TID = 16.
>
> In this case, the last member in the *struct ieee80211_sta* txq array
> will be NULL.
>
> We must check this in order not to get a NULL pointer dereference when
> iterating the txq array.
Uh, yes, thanks. This is my fault - I merged the overlapping patches
closely together.
johannes