linux-stable/drivers/staging/rtlwifi
Colin Ian King 3eb23426e1 staging: rtl8822be: fix missing null check on dev_alloc_skb return
dev_alloc_skb can potentially return NULL, so add a null check to
avoid a null pointer dereference on skb

Detected by CoverityScan, CID#1454558 ("Dereference on null return")

Fixes: 7e5b796cde ("staging: r8822be: Add the driver code")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-28 14:20:50 +01:00
..
btcoexist staging: rtlwifi: simplify logical operation 2017-08-23 16:27:07 -07:00
halmac staging: r8822be: mark expected switch fall-throughs 2017-10-18 16:21:26 +02:00
phydm staging: rtlwifi: phydm: Remove useless parentheses 2017-10-18 15:53:50 +02:00
rtl8822be staging: rtl8822be: fix missing null check on dev_alloc_skb return 2017-11-28 14:20:50 +01:00
base.c staging: rtlwifi: Remove unused variable 2017-11-03 12:48:56 +01:00
base.h staging: rtlwifi: Convert timers to use timer_setup() 2017-10-18 15:52:39 +02:00
cam.c staging: rtlwifi: remove redundant assignments to ul_enc_algo 2017-11-27 09:20:40 +01:00
cam.h
core.c staging: rtlwifi: rtlwifi: use ktime_get_real_seconds() for suspend time 2017-11-27 09:20:40 +01:00
core.h staging: rtlwifi: remove unused functions 2017-09-17 16:35:26 +02:00
debug.c staging: rtlwifi: Remove unnecessary parentheses 2017-10-18 15:53:50 +02:00
debug.h
efuse.c staging: rtlwifi: use kcalloc instead of multiply 2017-09-17 16:35:26 +02:00
efuse.h
Kconfig staging: rtlwifi: add MAC80211 dependency 2017-08-23 16:29:09 -07:00
Makefile staging: r8822be: Add Makefiles and Kconfig for new driver 2017-08-20 11:13:12 -07:00
pci.c Staging: rtlwifi: pci: fixed a coding style issue 2017-11-03 12:48:55 +01:00
pci.h
ps.c staging: rtlwifi: Convert timers to use timer_setup() 2017-10-18 15:52:39 +02:00
ps.h
pwrseqcmd.h
rc.c staging: rtlwifi: Remove unnecessary parentheses 2017-10-18 15:53:50 +02:00
rc.h
regd.c
regd.h
stats.c
stats.h
TODO staging: rtlwifi: Reviewers fixes 2017-08-20 11:13:12 -07:00
wifi.h staging: rtlwifi: rtlwifi: use ktime_get_real_seconds() for suspend time 2017-11-27 09:20:40 +01:00