Skip to content
Snippets Groups Projects
Commit 41af8b3a authored by Kangjie Lu's avatar Kangjie Lu Committed by David S. Miller
Browse files

net: lio_core: fix two NULL pointer dereferences


In case octeon_alloc_soft_command fails, the fix reports the
error and returns to avoid NULL pointer dereferences.

Signed-off-by: default avatarKangjie Lu <kjlu@umn.edu>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dd9d9f59
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment