[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<171829143001.24472.11084199730476804380.git-patchwork-notify@kernel.org>
Date: Thu, 13 Jun 2024 15:10:30 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Rao Shoaib <rao.shoaib@...cle.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, kuniyu@...zon.com, netdev@...r.kernel.org,
Rao.Shoaib@...cle.com
Subject: Re: [PATCH v6] af_unix: Read with MSG_PEEK loops if the first unread byte
is OOB
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 11 Jun 2024 01:46:39 -0700 you wrote:
> Read with MSG_PEEK flag loops if the first byte to read is an OOB byte.
> commit 22dd70eb2c3d ("af_unix: Don't peek OOB data without MSG_OOB.")
> addresses the loop issue but does not address the issue that no data
> beyond OOB byte can be read.
>
> >>> from socket import *
> >>> c1, c2 = socketpair(AF_UNIX, SOCK_STREAM)
> >>> c1.send(b'a', MSG_OOB)
> 1
> >>> c1.send(b'b')
> 1
> >>> c2.recv(1, MSG_PEEK | MSG_DONTWAIT)
> b'b'
>
> [...]
Here is the summary with links:
- [v6] af_unix: Read with MSG_PEEK loops if the first unread byte is OOB
https://git.kernel.org/netdev/net/c/a6736a0addd6
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