Skip to content

improve net msghdr / iovec handlng

Pavel Begunkov io-uring 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7io_uring/net: remove unnecessary REQ_F_NEED_CLEANUPio_uring/net.c+2 -90 replies
2/7io_uring/net: simplify compat selbuf iov parsingio_uring/net.c+5 -70 replies
3/7io_uring/net: isolate msghdr copying codeio_uring/net.c+25 -200 replies
4/7io_uring/net: verify msghdr before copying iovecio_uring/net.c+18 -250 replies
5/7io_uring/net: derive iovec storage laterio_uring/net.c+21 -220 replies
6/7io_uring/net: unify *mshot_prep calls with compatio_uring/net.c+7 -70 replies
7/7io_uring/net: extract iovec import into a helperio_uring/net.c+28 -340 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] improve net msghdr / iovec handlng

Note: depends on ("io_uring/net: save msg_control for compat")

Continuing refactoring how iovecs are treated, this series adds some more sanity to handling struct msghdr in the networking code. We can do some more cleaning on top, but it should be in a good shape, and it'll be easier to do new stuff with that in.

Pavel Begunkov (7):
io_uring/net: remove unnecessary REQ_F_NEED_CLEANUP io_uring/net: simplify compat selbuf iov parsing io_uring/net: isolate msghdr copying code io_uring/net: verify msghdr before copying iovec io_uring/net: derive iovec storage later io_uring/net: unify *mshot_prep calls with compat io_uring/net: extract iovec import into a helper

 io_uring/net.c | 180 ++++++++++++++++++++++---------------------------
 1 file changed, 81 insertions(+), 99 deletions(-)
Signature · 1 line
2.48.1