[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <877cnmbenv.fsf@>
Date: Mon, 16 Oct 2023 14:33:40 -0400
From: Gabriel Krisman Bertazi <krisman@...e.de>
To: Breno Leitao <leitao@...ian.org>
Cc: sdf@...gle.com, axboe@...nel.dk, asml.silence@...il.com,
willemdebruijn.kernel@...il.com, kuba@...nel.org, pabeni@...hat.com,
martin.lau@...ux.dev, bpf@...r.kernel.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
io-uring@...r.kernel.org
Subject: Re: [PATCH v7 10/11] io_uring/cmd: Introduce
SOCKET_URING_OP_SETSOCKOPT
Breno Leitao <leitao@...ian.org> writes:
> Add initial support for SOCKET_URING_OP_SETSOCKOPT. This new command is
> similar to setsockopt. This implementation leverages the function
> do_sock_setsockopt(), which is shared with the setsockopt() system call
> path.
>
> Important to say that userspace needs to keep the pointer's memory alive
> until the operation is completed. I.e, the memory could not be
> deallocated before the CQE is returned to userspace.
>
> Signed-off-by: Breno Leitao <leitao@...ian.org>
likewise..
Reviewed-by: Gabriel Krisman Bertazi <krisman@...e.de>
--
Gabriel Krisman Bertazi
Powered by blists - more mailing lists