From: Alexei Starovoitov Date: Sat, 3 Sep 2022 03:34:32 +0000 (-0700) Subject: Merge branch 'bpf: net: Remove duplicated code from bpf_getsockopt()' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0b20a133c0944c1f9ca97404b7805cb9c9cf32e0;p=linux.git Merge branch 'bpf: net: Remove duplicated code from bpf_getsockopt()' Martin KaFai Lau says: ==================== From: Martin KaFai Lau 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 Signed-off-by: Alexei Starovoitov --- 0b20a133c0944c1f9ca97404b7805cb9c9cf32e0