diff options
| author | Ameer Hamza <[email protected]> | 2021-12-05 23:38:10 +0500 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-12-07 20:57:17 -0800 |
| commit | e6f60c51f0435862020bcd2d1e3257caaafe5650 (patch) | |
| tree | 7fcbead3e075c414d5149ef2337269e0bde79302 /tools/testing/selftests/bpf/prog_tests/recursion.c | |
| parent | 6ebe4b350833a535d1df02591911b5f5fba3b275 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions