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 <[email protected]>
---
net/vmw_vsock/af_vsock.c | 90 +++++++++++++++++++++++++++++-----------
1 file changed, 65 insertions(+), 25 deletions(-)
Reviewed-by: Stefano Garzarella <[email protected]>