lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 20 Aug 2020 16:49:52 -0700
From:   Luke Hsiao <>
To:     David Miller <>
Cc:, Jens Axboe <>,
        Luke Hsiao <>
Subject: [PATCH net-next 0/2] Support reading msg errq from io_uring

From: Luke Hsiao <>

This patch series adds support for reading MSG_ERRQUEUE using the
io_uring interface. Support for this operation allows io_uring to serve
as an alternative to epoll + recvmsg for reading notification
completions for TCP tx zerocopy. 

The first patch allows ancillary data to be read using recvmsg from
io_uring, while the second patch provides an optimization for reading
these notification completions.

Luke Hsiao (2):
  io_uring: allow tcp ancillary data for __sys_recvmsg_sock()
  io_uring: ignore POLLIN for recvmsg on MSG_ERRQUEUE

 fs/io_uring.c       | 11 +++++++++--
 include/linux/net.h |  3 +++
 net/ipv4/af_inet.c  |  1 +
 net/ipv6/af_inet6.c |  1 +
 net/socket.c        |  8 +++++---
 5 files changed, 19 insertions(+), 5 deletions(-)


Powered by blists - more mailing lists