Skip to content
Commit 2795e8c2 authored by Kangjie Lu's avatar Kangjie Lu Committed by Stefan Schmidt
Browse files

net: ieee802154: fix a potential NULL pointer dereference



In case alloc_ordered_workqueue fails, the fix releases
sources and returns -ENOMEM to avoid NULL pointer dereference.

Signed-off-by: default avatarKangjie Lu <kjlu@umn.edu>
Acked-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: default avatarStefan Schmidt <stefan@datenfreihafen.org>
parent 4ec850e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment