io-uring.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHSET 0/2] io_uring: add support for connect()
@ 2019-11-23 21:27 Jens Axboe
  2019-11-23 21:27 ` [PATCH 1/2] net: add __sys_connect_file() helper Jens Axboe
  2019-11-23 21:27 ` [PATCH 2/2] io_uring: add support for IORING_OP_CONNECT Jens Axboe
  0 siblings, 2 replies; 3+ messages in thread
From: Jens Axboe @ 2019-11-23 21:27 UTC (permalink / raw)
  To: io-uring; +Cc: davem, netdev

Pretty trivially done, now that we support file table inheritance.
This is done in a similar fashion to the accept4() support, by adding
a __sys_connect_file() helper and using that from io_uring.

 fs/io_uring.c                 | 37 +++++++++++++++++++++++++++++++++++
 include/linux/socket.h        |  3 +++
 include/uapi/linux/io_uring.h |  1 +
 net/socket.c                  | 30 ++++++++++++++++++++--------
 4 files changed, 63 insertions(+), 8 deletions(-)

-- 
Jens Axboe



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-11-23 21:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-23 21:27 [PATCHSET 0/2] io_uring: add support for connect() Jens Axboe
2019-11-23 21:27 ` [PATCH 1/2] net: add __sys_connect_file() helper Jens Axboe
2019-11-23 21:27 ` [PATCH 2/2] io_uring: add support for IORING_OP_CONNECT Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).