Re: [PATCH] mwifiex: Fix potential NULL pointer dereference

From: Kalle Valo
Date: Thu Apr 04 2019 - 06:20:40 EST


Aditya Pakki <pakki001@xxxxxxx> wrote:

> dev_alloc_skb can fail and return a NULL pointer. The patch avoids
> a potential NULL pointer dereference and returns -ENOMEM.
>
> Signed-off-by: Aditya Pakki <pakki001@xxxxxxx>

A similar patch was already submitted:

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

Patch set to Superseded.

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

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