summaryrefslogtreecommitdiff
path: root/include/asm-mips/ip32/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorSun Jian <sun.jian.kdev@gmail.com>2026-04-08 11:46:23 +0800
committerAlexei Starovoitov <ast@kernel.org>2026-04-12 15:42:57 -0700
commitf1cc94665df907a85589ddb5fe74d7768ff61533 (patch)
treeea85eea33e93b218bbc7c04a87fd9f2d47fcd296 /include/asm-mips/ip32/git@git.tavy.me:linux.git
parent12bec2bd4b76d81c5d3996bd14ec1b7f4d983747 (diff)
selftests/bpf: cover short IPv4/IPv6 inputs with adjust_room
Add a selftest covering ETH_HLEN-sized IPv4/IPv6 EtherType inputs for bpf_prog_test_run_skb(). Reuse a single zero-initialized struct ethhdr eth_hlen and set eth_hlen.h_proto from the per-test h_proto field. Also add a dedicated tc_adjust_room program and route the short IPv4/IPv6 cases to it, so the selftest actually exercises the bpf_skb_adjust_room() path from the report. Signed-off-by: Sun Jian <sun.jian.kdev@gmail.com> Link: https://lore.kernel.org/r/20260408034623.180320-3-sun.jian.kdev@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/asm-mips/ip32/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions