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

net: rocker: fix a potential NULL pointer dereference


In case kzalloc fails, the fix releases resources and returns
NOTIFY_BAD 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 4280b730
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