aboutsummaryrefslogtreecommitdiffstats
path: root/net/tls
diff options
context:
space:
mode:
authorCong Wang <cong.wang@bytedance.com>2021-03-30 19:32:32 -0700
committerAlexei Starovoitov <ast@kernel.org>2021-04-01 10:56:14 -0700
commitd7f571188ecf25c244789b883c878ec7c64b5b08 (patch)
treef7180f3bdac5f80fbac0000a3927f05fb431013c /net/tls
parentsock: Introduce sk->sk_prot->psock_update_sk_prot() (diff)
downloadlinux-dev-d7f571188ecf25c244789b883c878ec7c64b5b08.tar.xz
linux-dev-d7f571188ecf25c244789b883c878ec7c64b5b08.zip
udp: Implement ->read_sock() for sockmap
This is similar to tcp_read_sock(), except we do not need to worry about connections, we just need to retrieve skb from UDP receive queue. Note, the return value of ->read_sock() is unused in sk_psock_verdict_data_ready(), and UDP still does not support splice() due to lack of ->splice_read(), so users can not reach udp_read_sock() directly. Signed-off-by: Cong Wang <cong.wang@bytedance.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/20210331023237.41094-12-xiyou.wangcong@gmail.com
Diffstat (limited to 'net/tls')
0 files changed, 0 insertions, 0 deletions