Re: [PATCH v2] net: mwifiex: fix a NULL pointer dereference

From: Kalle Valo
Date: Thu Apr 04 2019 - 05:28:59 EST


Kangjie Lu <kjlu@xxxxxxx> wrote:

> In case dev_alloc_skb fails, the fix returns -ENOMEM to avoid
> NULL pointer dereference.
>
> Signed-off-by: Kangjie Lu <kjlu@xxxxxxx>

There is a similar patch submitted:

https://patchwork.kernel.org/patch/10851669/

Patch set to Superseded.

--
https://patchwork.kernel.org/patch/10866749/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches