[PATCH] staging: rtlwifi: Fix potential NULL pointer dereference

Greg Kroah-Hartman gregkh at linuxfoundation.org
Sun Mar 17 11:13:01 UTC 2019


On Wed, Mar 13, 2019 at 11:29:12AM -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.
> 
> Signed-off-by: Aditya Pakki <pakki001 at umn.edu>
> ---
>  drivers/staging/rtlwifi/rtl8822be/fw.c | 3 +++
>  1 file changed, 3 insertions(+)

You sent 2 patches that did different things, with the same exact
subject line :(

please fix up, and send as a patch series.

thanks,

greg k-h


More information about the devel mailing list