Skip to content
Commit ba72e420 authored by Ping-Ke Shih's avatar Ping-Ke Shih Committed by Paul Gortmaker
Browse files

rtlwifi: fix potential NULL pointer dereference



commit 60209d48 upstream.

In case dev_alloc_skb fails, the fix safely returns to avoid
potential NULL pointer dereference.

Signed-off-by: default avatarPing-Ke Shih <pkshih@realtek.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent c40d8535
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment