Skip to content
Snippets Groups Projects
Commit 922aa9bc authored by Tao Liu's avatar Tao Liu Committed by David S. Miller
Browse files

gve: Avoid freeing NULL pointer


Prevent possible crashes when cleaning up after unsuccessful
initializations.

Fixes: 893ce44d ("gve: Add basic driver framework for Compute Engine Virtual NIC")
Signed-off-by: default avatarTao Liu <xliutaox@google.com>
Signed-off-by: default avatarCatherine Sully <csully@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d03477ee
No related branches found
No related tags found
No related merge requests found
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