Merge branch 'for-5.20/io_uring' into for-5.20/io_uring-zerocopy-send
authorJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:41:03 +0000 (18:41 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:41:03 +0000 (18:41 -0600)
* for-5.20/io_uring: (716 commits)
  io_uring: ensure REQ_F_ISREG is set async offload
  net: fix compat pointer in get_compat_msghdr()
  io_uring: Don't require reinitable percpu_ref
  io_uring: fix types in io_recvmsg_multishot_overflow
  io_uring: Use atomic_long_try_cmpxchg in __io_account_mem
  io_uring: support multishot in recvmsg
  net: copy from user before calling __get_compat_msghdr
  net: copy from user before calling __copy_msghdr
  io_uring: support 0 length iov in buffer select in compat
  io_uring: fix multishot ending when not polled
  io_uring: add netmsg cache
  io_uring: impose max limit on apoll cache
  io_uring: add abstraction around apoll cache
  io_uring: move apoll cache to poll.c
  io_uring: consolidate hash_locked io-wq handling
  io_uring: clear REQ_F_HASH_LOCKED on hash removal
  io_uring: don't race double poll setting REQ_F_ASYNC_DATA
  io_uring: don't miss setting REQ_F_DOUBLE_POLL
  io_uring: disable multishot recvmsg
  io_uring: only trace one of complete or overflow
  ...

Signed-off-by: Jens Axboe <axboe@kernel.dk>
1  2 
include/linux/socket.h
net/compat.c
net/ipv4/tcp.c
net/socket.c

Simple merge
diff --cc net/compat.c
@@@ -80,9 -75,6 +75,7 @@@ int __get_compat_msghdr(struct msghdr *
                return -EMSGSIZE;
  
        kmsg->msg_iocb = NULL;
-       *ptr = msg.msg_iov;
-       *len = msg.msg_iovlen;
 +      kmsg->msg_ubuf = NULL;
        return 0;
  }
  
diff --cc net/ipv4/tcp.c
Simple merge
diff --cc net/socket.c
@@@ -2406,9 -2400,6 +2401,7 @@@ int __copy_msghdr(struct msghdr *kmsg
                return -EMSGSIZE;
  
        kmsg->msg_iocb = NULL;
-       *uiov = msg.msg_iov;
-       *nsegs = msg.msg_iovlen;
 +      kmsg->msg_ubuf = NULL;
        return 0;
  }