summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJiayuan Chen <jiayuan.chen@linux.dev>2026-10-17 22:38:13 +0800
committerAlexei Starovoitov <ast@kernel.org>2026-10-17 17:22:24 +0000
commit5256161e3573e0e35ac5e12f8ca904cf51e77f5b (patch)
treee152d5713dd93a6302efff8397c986d91187d0e3 /include/linux
parentaf873495cbcb066ab029f7f63b94410d4db47628 (diff)
selftests/bpf: Test narrow read of bpf_tcp_sock u64 fields
Add a test that reads the two u64 fields bytes_received and bytes_acked at offset + 4 with a u32 load, to make sure such a narrower access is rejected with "invalid tcp_sock access". Signed-off-by: Jiayuan Chen <jiayuan.chen@linux.dev> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://patch.msgid.link/20261017143819.209510-2-jiayuan.chen@linux.dev
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions