Skip to content
Commit eb32cfcd authored by Kangjie Lu's avatar Kangjie Lu Committed by David S. Miller
Browse files

net: qlogic: fix a potential NULL pointer dereference



In case create_singlethread_workqueue fails, the fix returns
-ENOMEM to avoid NULL pointer dereference.

Signed-off-by: default avatarKangjie Lu <kjlu@umn.edu>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 10010493
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