• Linus Torvalds's avatar
    Merge tag 'io_uring-6.1-2022-10-22' of git://git.kernel.dk/linux · 942e01ab
    Linus Torvalds authored
    Pull io_uring follow-up from Jens Axboe:
     "Currently the zero-copy has automatic fallback to normal transmit, and
      it was decided that it'd be cleaner to return an error instead if the
      socket type doesn't support it.
    
      Zero-copy does work with UDP and TCP, it's more of a future proofing
      kind of thing (eg for samba)"
    
    * tag 'io_uring-6.1-2022-10-22' of git://git.kernel.dk/linux:
      io_uring/net: fail zc sendmsg when unsupported by socket
      io_uring/net: fail zc send when unsupported by socket
      net: flag sockets supporting msghdr originated zerocopy
    942e01ab
udp.c 84.5 KB