[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c344d845-99ba-4c3c-9382-cf401712a689@kernel.dk>
Date: Sat, 25 Oct 2025 07:27:37 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Gabriel Krisman Bertazi <krisman@...e.de>
Cc: netdev@...r.kernel.org, io-uring@...r.kernel.org,
Jakub Kicinski <kuba@...nel.org>, "David S . Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>
Subject: Re: [PATCH 0/3] Introduce getsockname io_uring_cmd
On 10/24/25 9:48 AM, Gabriel Krisman Bertazi wrote:
>
> This feature has been requested a few times in the liburing repository
> and Discord channels, such as in [1,2]. If anything, it also helps
> solve a long standing issue in the bind-listen test that results in
> occasional test failures.
>
> The patchset is divided in three parts: Patch 1 merges the getpeername
> and getsockname implementation in the network layer, making further
> patches easier; Patch 2 splits out a helper used by io_uring, like done
> for other network commands; Finally, patch 3 plumbs the new command in
> io_uring.
>
> The syscall path was tested by booting a Linux distro, which does all
> sorts of getsockname/getpeername syscalls. The io_uring side was tested
> with a couple of new liburing subtests available at:
>
> https://github.com/krisman/liburing.git -b socket
>
> Based on top of Jens' for-next.
>
> [1] https://github.com/axboe/liburing/issues/1356
> [2] https://discord.com/channels/1241076672589991966/1241076672589991970/1429975797912830074
Looks good to me, and it's not often you can add a new feature and
have:
> 5 files changed, 52 insertions(+), 52 deletions(-)
a net zero diffstat! Nice.
--
Jens Axboe
Powered by blists - more mailing lists