diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-02-21 12:35:49 +0000 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-02-28 10:28:36 +0200 |
commit | 74ee436f958126f96f2e10d44a8ef13cd8d46ef9 (patch) | |
tree | b5577954509e1a9941244da95883346d5dda051e /arch/mips/math-emu/dp_flong.c | |
parent | c91377495192cda096e52dc09c266b0d05f16d86 (diff) |
rsi: fix missing null pointer check from a failed ieee80211_probereq_get call
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@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'arch/mips/math-emu/dp_flong.c')
0 files changed, 0 insertions, 0 deletions