[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8ab727b0-e377-457b-9b3e-2499ea38abc0@kernel.dk>
Date: Wed, 19 Nov 2025 16:30:38 -0700
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.
Ping netdev / networking folks on patches 1+2...
--
Jens Axboe
Powered by blists - more mailing lists