Re: [RFC PATCH v5 03/19] af_vsock: separate receive data loop

2021-02-22 Thread Stefano Garzarella
On Thu, Feb 18, 2021 at 08:36:50AM +0300, Arseny Krasnov wrote: This moves STREAM specific data receive logic to dedicated function: '__vsock_stream_recvmsg()', while checks that will be same for both types of socket are in shared function: 'vsock_connectible_recvmsg()'. I'm not a native

[RFC PATCH v5 03/19] af_vsock: separate receive data loop

2021-02-17 Thread Arseny Krasnov
This moves STREAM specific data receive logic to dedicated function: '__vsock_stream_recvmsg()', while checks that will be same for both types of socket are in shared function: 'vsock_connectible_recvmsg()'. Signed-off-by: Arseny Krasnov --- net/vmw_vsock/af_vsock.c | 116