Re: [RFC PATCH v6 14/22] virtio/vsock: rest of SOCK_SEQPACKET support

2021-03-15 Thread Stefano Garzarella
On Sun, Mar 07, 2021 at 09:03:09PM +0300, Arseny Krasnov wrote: This adds rest of logic for SEQPACKET: 1) SEQPACKET specific functions which send SEQ_BEGIN/SEQ_END. Note that both functions may sleep to wait enough space for SEQPACKET header. 2) SEQ_BEGIN/SEQ_END in TAP packet capture. 3) Sen

[RFC PATCH v6 14/22] virtio/vsock: rest of SOCK_SEQPACKET support

2021-03-07 Thread Arseny Krasnov
This adds rest of logic for SEQPACKET: 1) SEQPACKET specific functions which send SEQ_BEGIN/SEQ_END. Note that both functions may sleep to wait enough space for SEQPACKET header. 2) SEQ_BEGIN/SEQ_END in TAP packet capture. 3) Send SHUTDOWN on socket close for SEQPACKET type. 4) Set SEQPACKET