Re: [PATCH net-next v3 1/3] vsock: move SOL_SOCKET options to vsock_sol_socket_setsockopt()

From
Stefano Garzarella <sgarzare@redhat.com>
Date
2026-10-21 09:36:10
Also in
lkml, virtualization
Reply to
David Carlier, 2026-10-16
On Fri, Oct 16, 2026 at 02:27:14PM +0100, David Carlier wrote:
SO_ZEROCOPY is handled inline in vsock_connectible_setsockopt(). Move it
to a helper with a switch on optname, so other SOL_SOCKET options can be
added as new cases. The value parsing goes to its own helper too, so each
option can do its own checks before it.

No functional change.

Signed-off-by: David Carlier <redacted>
---
net/vmw_vsock/af_vsock.c | 90 +++++++++++++++++++++++++++++-----------
1 file changed, 65 insertions(+), 25 deletions(-)
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Thread (7 messages) 7 messages, 3 authors, last reply 16d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help