Re: [RFC PATCH v4 04/17] af_vsock: implement SEQPACKET receive loop

2021-02-11 Thread Stefano Garzarella
On Sun, Feb 07, 2021 at 06:15:22PM +0300, Arseny Krasnov wrote: This adds receive loop for SEQPACKET. It looks like receive loop for STREAM, but there is a little bit difference: 1) It doesn't call notify callbacks. 2) It doesn't care about 'SO_SNDLOWAT' and 'SO_RCVLOWAT' values, because there

[RFC PATCH v4 04/17] af_vsock: implement SEQPACKET receive loop

2021-02-07 Thread Arseny Krasnov
This adds receive loop for SEQPACKET. It looks like receive loop for STREAM, but there is a little bit difference: 1) It doesn't call notify callbacks. 2) It doesn't care about 'SO_SNDLOWAT' and 'SO_RCVLOWAT' values, because there is no sense for these values in SEQPACKET case. 3) It waits until