diff options
author | Kangjie Lu <kjlu@umn.edu> | 2019-03-11 08:25:17 +0100 |
---|---|---|
committer | Stefan Schmidt <stefan@datenfreihafen.org> | 2019-03-13 10:07:53 +0100 |
commit | 2795e8c251614ac0784c9d41008551109f665716 (patch) | |
tree | 6fa20e277feb95a133b24ea43f52af2dbc0d41a8 /drivers/reset | |
parent | net: dwmac-sun8i: fix a missing check of of_get_phy_mode (diff) | |
download | linux-2795e8c251614ac0784c9d41008551109f665716.tar.xz linux-2795e8c251614ac0784c9d41008551109f665716.zip |
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: Kangjie Lu <kjlu@umn.edu>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Diffstat (limited to 'drivers/reset')
0 files changed, 0 insertions, 0 deletions