diff options
author | Alexei Starovoitov <ast@kernel.org> | 2022-09-02 20:34:32 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-09-02 20:35:11 -0700 |
commit | 0b20a133c0944c1f9ca97404b7805cb9c9cf32e0 (patch) | |
tree | 7a922ac6e0db46244b5f47744066af73b75adc2a /tools/bpf | |
parent | af515a5587b8f45f19e11657746e0c89411b0380 (diff) | |
parent | f649f992deeeab020257b886e054cc407154cbfc (diff) | |
download | linux-rpi-0b20a133c0944c1f9ca97404b7805cb9c9cf32e0.tar.gz linux-rpi-0b20a133c0944c1f9ca97404b7805cb9c9cf32e0.tar.bz2 linux-rpi-0b20a133c0944c1f9ca97404b7805cb9c9cf32e0.zip |
Merge branch 'bpf: net: Remove duplicated code from bpf_getsockopt()'
Martin KaFai Lau says:
====================
From: Martin KaFai Lau <martin.lau@kernel.org>
The earlier commits [0] removed duplicated code from bpf_setsockopt().
This series is to remove duplicated code from bpf_getsockopt().
Unlike the setsockopt() which had already changed to take
the sockptr_t argument, the same has not been done to
getsockopt(). This is the extra step being done in this
series.
[0]: https://lore.kernel.org/all/20220817061704.4174272-1-kafai@fb.com/
v2:
- The previous v2 did not reach the list. It is a resend.
- Add comments on bpf_getsockopt() should not free
the saved_syn (Stanislav)
- Explicitly null-terminate the tcp-cc name (Stanislav)
====================
Reviewed-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/bpf')
0 files changed, 0 insertions, 0 deletions