virtio/vsock: add 'VIRTIO_VSOCK_SEQ_EOR' bit.
authorArseny Krasnov <arseny.krasnov@kaspersky.com>
Fri, 3 Sep 2021 12:32:23 +0000 (15:32 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 5 Sep 2021 20:23:09 +0000 (16:23 -0400)
commit41116599a0731f4cd451e9d191d879ab45e31945
tree01a3bacad148d17b65ee3cee335008447ac96a18
parent9af8f1061646e8e22b66413bedf7b3e2ab3d69e5
virtio/vsock: add 'VIRTIO_VSOCK_SEQ_EOR' bit.

This bit is used to handle POSIX MSG_EOR flag passed from
userspace in 'send*()' system calls. It marks end of each
record and is visible to receiver using 'recvmsg()' system
call.

Signed-off-by: Arseny Krasnov <arseny.krasnov@kaspersky.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20210903123225.3273425-1-arseny.krasnov@kaspersky.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/uapi/linux/virtio_vsock.h