Re: [PATCH][next] rsi: fix missing null pointer check from a failed ieee80211_probereq_get call
From: Kalle Valo
Date: Thu Feb 28 2019 - 03:29:37 EST
Colin King <colin.king@xxxxxxxxxxxxx> wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The call to ieee80211_probereq_get can return NULL if a skb allocation
> fails, so add a null pointer check and free an earlier skb on the error
> exit return path.
>
> Fixes: 7fdcb8e12660 ("rsi: add support for hardware scan offload")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Patch applied to wireless-drivers-next.git, thanks.
74ee436f9581 rsi: fix missing null pointer check from a failed ieee80211_probereq_get call
--
https://patchwork.kernel.org/patch/10824023/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches