summaryrefslogtreecommitdiff
path: root/net/dns_resolver
diff options
context:
space:
mode:
authorCong Wang <cong.wang@bytedance.com>2021-03-31 05:32:32 +0300
committerAlexei Starovoitov <ast@kernel.org>2021-04-01 20:56:14 +0300
commitd7f571188ecf25c244789b883c878ec7c64b5b08 (patch)
treef7180f3bdac5f80fbac0000a3927f05fb431013c /net/dns_resolver
parent8a59f9d1e3d4340659fdfee8879dc09a6f2546e1 (diff)
downloadlinux-d7f571188ecf25c244789b883c878ec7c64b5b08.tar.xz
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/dns_resolver')
0 files changed, 0 insertions, 0 deletions