sock_map: fix ->poll() and update selftests
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest4 patches 2 repliesIn review
- v34 patches 4 repliesSuperseded
- v24 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 3 patches | 2 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | net: rename ->stream_memory_read to ->sock_is_readableinclude/ include/ net/ +3 more | +14 | 0 replies | |
| 2/4 | skmsg: extract and reuse sk_msg_is_readable()include/ net/ net/ | +16 | 0 replies | |
| 3/4 | net: implement ->sock_is_readable() for UDP and AF_UNIXnet/ net/ net/ +1 more | +10 | 0 replies | |
| 4/4 | selftests/bpf: use recv_timeout() instead of retriestools/ | +20 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | John Fastabend | Jakub Sitnicki |
|---|---|---|
| Series | A-b A-b | R-b |
| 1/4 | ||
| 2/4 | ||
| 3/4 | ||
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Patch bpf v4 0/4] sock_map: fix ->poll() and update selftests
From: Cong Wang <[email protected]>
This patchset fixes ->poll() for sockets in sockmap and updates selftests accordingly with select(). Please check each patch for more details.
---
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
Yucong Sun (1):
selftests/bpf: use recv_timeout() instead of retries
include/linux/skmsg.h | 1 + include/net/sock.h | 8 +- include/net/tls.h | 2 +- net/core/skmsg.c | 14 ++++ net/ipv4/tcp.c | 5 +- net/ipv4/tcp_bpf.c | 15 +--- net/ipv4/udp.c | 3 + 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 +++++-------------- 13 files changed, 58 insertions(+), 78 deletions(-)
Signature · 1 line
2.30.2