diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-03-29 11:04:28 -0700 |
|---|---|---|
| committer | Martin KaFai Lau <martin.lau@kernel.org> | 2026-03-30 15:52:25 -0700 |
| commit | 64c535db769e9ab917343d61045802e832d621ed (patch) | |
| tree | e4f57c00846817ed5dd175c0f081132dcd5336a8 /tools/testing/vma/include/git@git.tavy.me:linux.git | |
| parent | 699f47e616fed11d5074e7bbee2f4f920028c4a2 (diff) | |
selftests/bpf: Test that dst is cleared on same-protocol encap
Verify that bpf_skb_adjust_room() clears the routing dst even when
the encap L3 protocol matches the original packet (e.g. IPIP).
The dst selected for the inner packet is not valid for the
encapsulated result; a stale dst could lead to misrouting.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://patch.msgid.link/20260329180428.2657785-2-kuba@kernel.org
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
