diff options
author | Ameer Hamza <amhamza.mgc@gmail.com> | 2021-12-05 21:38:10 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-08 07:57:17 +0300 |
commit | e6f60c51f0435862020bcd2d1e3257caaafe5650 (patch) | |
tree | 7fcbead3e075c414d5149ef2337269e0bde79302 /include | |
parent | 6ebe4b350833a535d1df02591911b5f5fba3b275 (diff) | |
download | linux-e6f60c51f0435862020bcd2d1e3257caaafe5650.tar.xz |
gve: fix for null pointer dereference.
Avoid passing NULL skb to __skb_put() function call if
napi_alloc_skb() returns NULL.
Fixes: 37149e9374bf ("gve: Implement packet continuation for RX.")
Signed-off-by: Ameer Hamza <amhamza.mgc@gmail.com>
Link: https://lore.kernel.org/r/20211205183810.8299-1-amhamza.mgc@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions