Thread (5 messages) 5 messages, 3 authors, 2023-03-15

Re: [PATCH net-next v2] scm: fix MSG_CTRUNC setting condition for SO_PASSSEC

From: patchwork-bot+netdevbpf@kernel.org
Date: 2023-03-15 08:30:24
Also in: lkml

Hello:

This patch was applied to netdev/net-next.git (main)
by David S. Miller [off-list ref]:

On Mon, 13 Mar 2023 12:32:11 +0100 you wrote:
Currently, kernel would set MSG_CTRUNC flag if msg_control buffer
wasn't provided and SO_PASSCRED was set or if there was pending SCM_RIGHTS.

For some reason we have no corresponding check for SO_PASSSEC.

In the recvmsg(2) doc we have:
       MSG_CTRUNC
              indicates that some control data was discarded due to lack
              of space in the buffer for ancillary data.

[...]
Here is the summary with links:
  - [net-next,v2] scm: fix MSG_CTRUNC setting condition for SO_PASSSEC
    https://git.kernel.org/netdev/net-next/c/a02d83f9947d

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help