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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.48.1





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux