Re: [RFC PATCH v3 01/13] af_vsock: prepare for SOCK_SEQPACKET support

2021-01-28 Thread Stefano Garzarella
I think the patch title should be more explicit, so something like vsock: generalize function to manage connectible sockets On Mon, Jan 25, 2021 at 02:11:28PM +0300, Arseny Krasnov wrote: This prepares af_vsock.c for SEQPACKET support: 1) As both stream and seqpacket sockets are connection orie

[RFC PATCH v3 01/13] af_vsock: prepare for SOCK_SEQPACKET support

2021-01-25 Thread Arseny Krasnov
This prepares af_vsock.c for SEQPACKET support: 1) As both stream and seqpacket sockets are connection oriented, add check for SOCK_SEQPACKET to conditions where SOCK_STREAM is checked. 2) Some functions such as setsockopt(), getsockopt(), connect(), recvmsg(), sendmsg() are shared between bo