Re: [PATCH v2] staging: rtlwifi: rtl8822b: fix to avoid NULL pointer dereference

From: Greg Kroah-Hartman
Date: Wed Mar 20 2019 - 03:24:13 EST


On Tue, Mar 19, 2019 at 03:21:25PM -0500, Aditya Pakki wrote:
> skb allocated via dev_alloc_skb can fail and return a NULL pointer.
> This patch avoids such a scenario and returns, consistent with other
> invocations.
>
> ---
> v1: Patch collision with rtl_phydm.c, fix as per Greg
> Signed-off-by: Aditya Pakki <pakki001@xxxxxxx>

And here as well, please put above ---