diff options
| author | Martin KaFai Lau <[email protected]> | 2022-09-02 00:29:31 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-09-03 03:34:32 +0000 |
| commit | 38566ec06f52250c4abaa7447aae676e0b881c46 (patch) | |
| tree | 766449461e33aa6e1eb0dff0aa206e22b318a3e4 /drivers/usb/cdns3/cdns3-plat.c | |
| parent | bpf: Change bpf_getsockopt(SOL_IP) to reuse do_ip_getsockopt() (diff) | |
| download | kernel-38566ec06f52250c4abaa7447aae676e0b881c46.tar.gz kernel-38566ec06f52250c4abaa7447aae676e0b881c46.zip | |
bpf: Change bpf_getsockopt(SOL_IPV6) to reuse do_ipv6_getsockopt()
This patch changes bpf_getsockopt(SOL_IPV6) to reuse
do_ipv6_getsockopt(). It removes the duplicated code from
bpf_getsockopt(SOL_IPV6).
This also makes bpf_getsockopt(SOL_IPV6) supporting the same
set of optnames as in bpf_setsockopt(SOL_IPV6). In particular,
this adds IPV6_AUTOFLOWLABEL support to bpf_getsockopt(SOL_IPV6).
ipv6 could be compiled as a module. Like how other code solved it
with stubs in ipv6_stubs.h, this patch adds the do_ipv6_getsockopt
to the ipv6_bpf_stub.
Signed-off-by: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions
