Re: [PATCH net v2 0/2] vsock: Fix SO_ZEROCOPY on accept()ed vsocks
Hello: This series was applied to netdev/net.git (main) by Jakub Kicinski : On Mon, 29 Dec 2025 20:43:09 +0100 you wrote: > vsock has its own handling of setsockopt(SO_ZEROCOPY). Which works just > fine unless socket comes from a call to accept(). Because > SOCK_CUSTOM_SOCKOPT flag is missing, attempting to set the option always > results in errno EOPNOTSUPP. > > Signed-off-by: Michal Luczaj > > [...] Here is the summary with links: - [net,v2,1/2] vsock: Make accept()ed sockets use custom setsockopt() https://git.kernel.org/netdev/net/c/ce5e612dd411 - [net,v2,2/2] vsock/test: Test setting SO_ZEROCOPY on accept()ed socket https://git.kernel.org/netdev/net/c/caa20e9e155b You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
[PATCH net v2 0/2] vsock: Fix SO_ZEROCOPY on accept()ed vsocks
vsock has its own handling of setsockopt(SO_ZEROCOPY). Which works just fine unless socket comes from a call to accept(). Because SOCK_CUSTOM_SOCKOPT flag is missing, attempting to set the option always results in errno EOPNOTSUPP. Signed-off-by: Michal Luczaj --- Changes in v2: - Fix: set socket flags in a consistent way [Stefano] - Test: simplify sync by removing sync [Stefano] - Link to v1: https://lore.kernel.org/r/20251223-vsock-child-sock-custom-sockopt-v1-0-4654a75d0...@rbox.co --- Michal Luczaj (2): vsock: Make accept()ed sockets use custom setsockopt() vsock/test: Test setting SO_ZEROCOPY on accept()ed socket net/vmw_vsock/af_vsock.c | 4 tools/testing/vsock/vsock_test.c | 32 2 files changed, 36 insertions(+) --- base-commit: 58fc7342b529803d3c221101102fe913df7adb83 change-id: 20251222-vsock-child-sock-custom-sockopt-23b779c30c8f Best regards, -- Michal Luczaj

