diff options
author | Alexei Starovoitov <ast@kernel.org> | 2022-01-31 12:39:12 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-01-31 12:39:19 -0800 |
commit | 1fc5bdb2b823b6f478b8c466d5f7328f6220f02b (patch) | |
tree | 7dd90826ccc6a7f26688e8f790140ff96e6b43ea /kernel | |
parent | b3dddab2ff10853aa3ef70483415d07fee3034ba (diff) | |
parent | 8f50f16ff39dd4e2d43d1548ca66925652f8aff7 (diff) |
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/87sftbobys.fsf@cloudflare.com/
====================
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions