Skip to content
Commit e5b9b206 authored by Kangjie Lu's avatar Kangjie Lu Committed by Kalle Valo
Browse files

net: mwifiex: fix a NULL pointer dereference



In case dev_alloc_skb fails, the fix returns -ENOMEM to avoid
NULL pointer dereference.

Signed-off-by: default avatarKangjie Lu <kjlu@umn.edu>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 6603c584
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment