diff options
| author | 2026-10-17 22:38:13 +0800 | |
|---|---|---|
| committer | 2026-10-17 17:22:24 +0000 | |
| commit | 5256161e3573e0e35ac5e12f8ca904cf51e77f5b (patch) | |
| tree | e152d5713dd93a6302efff8397c986d91187d0e3 /scripts/Makefile.thinlto | |
| parent | bpf: Fix verifier WARN on narrow read of bpf_tcp_sock u64 fields (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
