Thread (7 messages) 7 messages, 2 authors, 2021-10-02

[Patch bpf v2 0/4] sock_map: fix ->poll() and update selftests

flat view
STALE1846d SUPERSEDED

From: Cong Wang <hidden>
Date: 2021-09-28 00:22:32
Also in: bpf

Revision v2 of 4 in this series.

Revisions (4)
  1. v1 [diff vs current]
  2. v2 current
  3. v3 [diff vs current]
  4. v4 [diff vs current]
From: Cong Wang <redacted>

This patchset fixes ->poll() on sockmap sockets and update
selftests accordingly with select(). Please check each patch
for more details.
---
v2: rename and reuse ->stream_memory_read()
    fix a compile error in sk_psock_get_checked()

Cong Wang (3):
  skmsg: introduce sk_psock_get_checked()
  net: rename ->stream_memory_read to ->sock_is_readable
  net: implement ->sock_is_readable for UDP and AF_UNIX

Yucong Sun (1):
  selftests/bpf: use recv_timeout() instead of retries

 include/linux/skmsg.h                         | 21 ++++++
 include/net/sock.h                            |  8 +-
 include/net/tls.h                             |  2 +-
 net/core/skmsg.c                              | 14 ++++
 net/core/sock_map.c                           | 22 +-----
 net/ipv4/tcp.c                                |  5 +-
 net/ipv4/tcp_bpf.c                            |  4 +-
 net/ipv4/udp.c                                |  2 +
 net/ipv4/udp_bpf.c                            |  1 +
 net/tls/tls_main.c                            |  4 +-
 net/tls/tls_sw.c                              |  2 +-
 net/unix/af_unix.c                            |  4 +
 net/unix/unix_bpf.c                           |  2 +
 .../selftests/bpf/prog_tests/sockmap_listen.c | 75 +++++--------------
 14 files changed, 79 insertions(+), 87 deletions(-)

-- 
2.30.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help