diff options
author | 2022-09-01 17:28:15 -0700 | |
---|---|---|
committer | 2022-09-02 20:34:30 -0700 | |
commit | 34704ef024ae6167c7ae9e67f671eb6bc1962c90 (patch) | |
tree | 9c429286709886721231623a0857cf6b2ce6d475 /net/core | |
parent | bpf: net: Avoid sk_getsockopt() taking sk lock when called from bpf (diff) | |
download | wireguard-linux-34704ef024ae6167c7ae9e67f671eb6bc1962c90.tar.xz wireguard-linux-34704ef024ae6167c7ae9e67f671eb6bc1962c90.zip |
bpf: net: Change do_tcp_getsockopt() to take the sockptr_t argument
Similar to the earlier patch that changes sk_getsockopt() to
take the sockptr_t argument . This patch also changes
do_tcp_getsockopt() to take the sockptr_t argument such that
a latter patch can make bpf_getsockopt(SOL_TCP) to reuse
do_tcp_getsockopt().
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/r/20220902002815.2889332-1-kafai@fb.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions