Skip to content
Commit e6f60c51 authored by Ameer Hamza's avatar Ameer Hamza Committed by Jakub Kicinski
Browse files

gve: fix for null pointer dereference.



Avoid passing NULL skb to __skb_put() function call if
napi_alloc_skb() returns NULL.

Fixes: 37149e93 ("gve: Implement packet continuation for RX.")
Signed-off-by: default avatarAmeer Hamza <amhamza.mgc@gmail.com>
Link: https://lore.kernel.org/r/20211205183810.8299-1-amhamza.mgc@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 6ebe4b35
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