diff options
| author | Alexei Starovoitov <[email protected]> | 2022-01-31 20:39:12 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-01-31 20:39:19 +0000 |
| commit | 1fc5bdb2b823b6f478b8c466d5f7328f6220f02b (patch) | |
| tree | 7dd90826ccc6a7f26688e8f790140ff96e6b43ea /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
| parent | Merge branch 'selftests/bpf: use temp netns for testing' (diff) | |
| parent | selftests/bpf: Extend verifier and bpf_sock tests for dst_port loads (diff) | |
| download | kernel-1fc5bdb2b823b6f478b8c466d5f7328f6220f02b.tar.gz kernel-1fc5bdb2b823b6f478b8c466d5f7328f6220f02b.zip | |
Merge branch 'Split bpf_sock dst_port field'
Jakub Sitnicki says:
====================
This is a follow-up to discussion around the idea of making dst_port in struct
bpf_sock a 16-bit field that happened in [1].
v2:
- use an anonymous field for zero padding (Alexei)
v1:
- keep dst_field offset unchanged to prevent existing BPF program breakage
(Martin)
- allow 8-bit loads from dst_port[0] and [1]
- add test coverage for the verifier and the context access converter
[1] https://lore.kernel.org/bpf/[email protected]/
====================
Acked-by: Martin KaFai Lau <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions
