Re: [RFC PATCH v5 05/19] af_vsock: separate wait space loop

2021-02-22 Thread Stefano Garzarella
On Thu, Feb 18, 2021 at 08:37:54AM +0300, Arseny Krasnov wrote: This moves loop that waits for space on send to separate function, because it will be used for SEQ_BEGIN/SEQ_END sending before and after data transmission. Waiting for SEQ_BEGIN/SEQ_END is needed because such packets carries

[RFC PATCH v5 05/19] af_vsock: separate wait space loop

2021-02-17 Thread Arseny Krasnov
This moves loop that waits for space on send to separate function, because it will be used for SEQ_BEGIN/SEQ_END sending before and after data transmission. Waiting for SEQ_BEGIN/SEQ_END is needed because such packets carries SEQPACKET header that couldn't be fragmented by credit mechanism, so to