Re: [RFC PATCH v7 03/22] af_vsock: separate receive data loop

2021-03-25 Thread Stefano Garzarella
On Tue, Mar 23, 2021 at 04:09:36PM +0300, Arseny Krasnov wrote: Move STREAM specific data receive logic to '__vsock_stream_recvmsg()' dedicated function, while checks, that will be same for both STREAM and SEQPACKET sockets, stays in 'vsock_connectible_recvmsg()' shared functions. Signed-off-by:

[RFC PATCH v7 03/22] af_vsock: separate receive data loop

2021-03-23 Thread Arseny Krasnov
Move STREAM specific data receive logic to '__vsock_stream_recvmsg()' dedicated function, while checks, that will be same for both STREAM and SEQPACKET sockets, stays in 'vsock_connectible_recvmsg()' shared functions. Signed-off-by: Arseny Krasnov --- net/vmw_vsock/af_vsock.c | 116 +