Re: [PATCH] qlcnic: Avoid potential NULL pointer dereference

From: David Miller
Date: Fri Mar 15 2019 - 14:56:45 EST


From: Aditya Pakki <pakki001@xxxxxxx>
Date: Thu, 14 Mar 2019 15:31:40 -0500

> netdev_alloc_skb can fail and return a NULL pointer which is
> dereferenced without a check. The patch avoids such a scenario.
>
> Signed-off-by: Aditya Pakki <pakki001@xxxxxxx>

Applied.