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

Greg Kroah-Hartman gregkh at linuxfoundation.org
Wed Mar 20 07:24:08 UTC 2019


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 at umn.edu>

And here as well, please put above ---



More information about the devel mailing list