From: Alexei Starovoitov Date: Tue, 26 Oct 2021 19:29:33 +0000 (-0700) Subject: Merge branch 'sock_map: fix ->poll() and update selftests' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a94b5aae2a40b164f1d67c37f466f06cb1398ef0;p=linux.git Merge branch 'sock_map: fix ->poll() and update selftests' Cong Wang says: ==================== This patchset fixes ->poll() for sockets in sockmap and updates selftests accordingly with select(). Please check each patch for more details. Fixes: c50524ec4e3a ("Merge branch 'sockmap: add sockmap support for unix datagram socket'") Fixes: 89d69c5d0fbc ("Merge branch 'sockmap: introduce BPF_SK_SKB_VERDICT and support UDP'") Acked-by: John Fastabend --- v4: add a comment in udp_poll() v3: drop sk_psock_get_checked() reuse tcp_bpf_sock_is_readable() v2: rename and reuse ->stream_memory_read() fix a compile error in sk_psock_get_checked() Cong Wang (3): net: rename ->stream_memory_read to ->sock_is_readable skmsg: extract and reuse sk_msg_is_readable() net: implement ->sock_is_readable() for UDP and AF_UNIX ==================== Reviewed-by: Jakub Sitnicki Acked-by: John Fastabend Signed-off-by: Alexei Starovoitov --- a94b5aae2a40b164f1d67c37f466f06cb1398ef0