[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id:
<176693592455.2340895.15053745260316730629.git-patchwork-notify@kernel.org>
Date: Sun, 28 Dec 2025 15:32:04 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Jens Axboe <axboe@...nel.dk>
Cc: netdev@...r.kernel.org, io-uring@...r.kernel.org, kuba@...nel.org,
willemb@...gle.com, kuniyu@...gle.com, ju.orth@...il.com
Subject: Re: [PATCH v2] af_unix: don't post cmsg for SO_INQ unless explicitly
asked for
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Thu, 18 Dec 2025 15:21:28 -0700 you wrote:
> A previous commit added SO_INQ support for AF_UNIX (SOCK_STREAM), but it
> posts a SCM_INQ cmsg even if just msg->msg_get_inq is set. This is
> incorrect, as ->msg_get_inq is just the caller asking for the remainder
> to be passed back in msg->msg_inq, it has nothing to do with cmsg. The
> original commit states that this is done to make sockets
> io_uring-friendly", but it's actually incorrect as io_uring doesn't use
> cmsg headers internally at all, and it's actively wrong as this means
> that cmsg's are always posted if someone does recvmsg via io_uring.
>
> [...]
Here is the summary with links:
- [v2] af_unix: don't post cmsg for SO_INQ unless explicitly asked for
https://git.kernel.org/netdev/net/c/4d1442979e4a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists