Thread (8 messages) 8 messages, 4 authors, 2023-07-27

Re: [PATCH net-next v3 0/4] virtio/vsock: some updates for MSG_PEEK flag

From: patchwork-bot+netdevbpf@kernel.org
Date: 2023-07-27 14:00:31
Also in: kvm, lkml

Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni [off-list ref]:

On Tue, 25 Jul 2023 20:29:08 +0300 you wrote:
Hello,

This patchset does several things around MSG_PEEK flag support. In
general words it reworks MSG_PEEK test and adds support for this flag
in SOCK_SEQPACKET logic. Here is per-patch description:

1) This is cosmetic change for SOCK_STREAM implementation of MSG_PEEK:
   1) I think there is no need of "safe" mode walk here as there is no
      "unlink" of skbs inside loop (it is MSG_PEEK mode - we don't change
      queue).
   2) Nested while loop is removed: in case of MSG_PEEK we just walk
      over skbs and copy data from each one. I guess this nested loop
      even didn't behave as loop - it always executed just for single
      iteration.

[...]
Here is the summary with links:
  - [net-next,v3,1/4] virtio/vsock: rework MSG_PEEK for SOCK_STREAM
    https://git.kernel.org/netdev/net-next/c/051e77e33946
  - [net-next,v3,2/4] virtio/vsock: support MSG_PEEK for SOCK_SEQPACKET
    https://git.kernel.org/netdev/net-next/c/a75f501de88e
  - [net-next,v3,3/4] vsock/test: rework MSG_PEEK test for SOCK_STREAM
    https://git.kernel.org/netdev/net-next/c/587ed79f62a7
  - [net-next,v3,4/4] vsock/test: MSG_PEEK test for SOCK_SEQPACKET
    https://git.kernel.org/netdev/net-next/c/8a0697f23e5a

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