Re: [PATCH v1] net/mac80211/agg-tx: check the return value of rcu_dereference_protected_tid_tx()

From: Johannes Berg
Date: Fri Sep 02 2022 - 11:13:12 EST


On Fri, 2022-09-02 at 00:57 -0700, Li Zhong wrote:
> From: lily <floridsleeves@xxxxxxxxx>
>
> Check the return value of rcu_dereference_protected_tid_tx(), which
> could be NULL and result in null pointer dereference if not checked.
>

Except ... it can't happen?

johannes