Merge tag 'io_uring-6.2-2023-01-20' of git://git.kernel.dk/linux
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 20 Jan 2023 20:39:45 +0000 (12:39 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 20 Jan 2023 20:39:45 +0000 (12:39 -0800)
commit9c38747f0cdb20516de3d708f39720762786750a
tree207ec7f9c393a2ac43d58016873d31b4f6ee1feb
parent26e57507a0f04ae0e472afe4799784e2ed19e1b0
parent8579538c89e33ce78be2feb41e07489c8cbf8f31
Merge tag 'io_uring-6.2-2023-01-20' of git://git.kernel.dk/linux

Pull io_uring fixes from Jens Axboe:
 "Fixes for the MSG_RING opcode. Nothing really major:

   - Fix an overflow missing serialization around posting CQEs to the
     target ring (me)

   - Disable MSG_RING on a ring that isn't enabled yet. There's nothing
     really wrong with allowing it, but 1) it's somewhat odd as nobody
     can receive them yet, and 2) it means that using the right delivery
     mechanism might change. As nobody should be sending CQEs to a ring
     that isn't enabled yet, let's just disable it (Pavel)

   - Tweak to when we decide to post remotely or not for MSG_RING
     (Pavel)"

* tag 'io_uring-6.2-2023-01-20' of git://git.kernel.dk/linux:
  io_uring/msg_ring: fix remote queue to disabled ring
  io_uring/msg_ring: fix flagging remote execution
  io_uring/msg_ring: fix missing lock on overflow for IOPOLL
  io_uring/msg_ring: move double lock/unlock helpers higher up