diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-04-13 15:40:52 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-13 15:40:53 -0700 |
| commit | 2258d1dffaf77bad190ac1cdd0a98db513c15232 (patch) | |
| tree | 0fe934139222859f16380d90ea93c77e23bdedab /rust/kernel/ptr/git@git.tavy.me:linux.git | |
| parent | 9ad24ba4085ebee5419cdd0dcc71050dda99af68 (diff) | |
| parent | dd66b42854705e4e4ee7f14d260f86c578bed3e3 (diff) | |
Merge branch 'octeon_ep_vf-fix-napi_build_skb-null-dereference'
David Carlier says:
====================
octeon_ep_vf: fix napi_build_skb() NULL dereference
napi_build_skb() can return NULL on allocation failure. In
__octep_vf_oq_process_rx(), the result is used directly without a
NULL check in both the single-buffer and multi-fragment paths,
leading to a NULL pointer dereference.
Patch 1 introduces a helper to deduplicate the ring index advance
pattern, patch 2 adds the actual NULL checks.
====================
Link: https://patch.msgid.link/20260409184009.930359-1-devnexen@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/kernel/ptr/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
