diff options
| author | Kangjie Lu <kjlu@umn.edu> | 2019-03-12 00:31:07 -0500 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2019-04-04 13:17:55 +0300 |
| commit | e5b9b206f3f6376b9a1406b67eafe4e7bb9f123c (patch) | |
| tree | 57bb0359ae8b27213cae54986e03078125aa37d8 /net/lapb/lapb_in.c | |
| parent | 6603c5844a44fc58f0a3c9cbb57b35b75d7d86be (diff) | |
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: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
