mbox series

[0/7] improve net msghdr / iovec handlng

Message ID cover.1740569495.git.asml.silence@gmail.com (mailing list archive)
Headers show
Series improve net msghdr / iovec handlng | expand

Message

Pavel Begunkov Feb. 26, 2025, 11:41 a.m. UTC
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(-)

Comments

Jens Axboe Feb. 26, 2025, 5:41 p.m. UTC | #1
On Wed, 26 Feb 2025 11:41:14 +0000, Pavel Begunkov wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/7] io_uring/net: remove unnecessary REQ_F_NEED_CLEANUP
      commit: 398421b7d776edecbd89a7ca6cdaaac0d965762d
[2/7] io_uring/net: simplify compat selbuf iov parsing
      commit: c30f89f1d08b205ab96aa09ce06549ba34bbba67
[3/7] io_uring/net: isolate msghdr copying code
      commit: 6b69dd00e98a6f9041415351f9894539da0e73c4
[4/7] io_uring/net: verify msghdr before copying iovec
      commit: 820c215726a57ffd766376d23feed2bebe27a18f
[5/7] io_uring/net: derive iovec storage later
      commit: 67f9fbe72a2d2abb25aafd1af6d9f6373cbc5024
[6/7] io_uring/net: unify *mshot_prep calls with compat
      commit: 68525267875757520752ff1abbda0af58fc172b9
[7/7] io_uring/net: extract iovec import into a helper
      commit: 7eb5bb749ed945ead6a089e18e1d1da74523ac9a

Best regards,