summaryrefslogtreecommitdiffstats
path: root/net/vmw_vsock
diff options
context:
space:
mode:
authorArseny Krasnov <arseny.krasnov@kaspersky.com>2021-09-03 15:32:35 +0300
committerMichael S. Tsirkin <mst@redhat.com>2021-09-05 16:23:09 -0400
commit1af7e55511fe194a07f3fa4e77b5b9d10bdd9208 (patch)
treec548575984c6d18f8645791daf335f1044dcf8ba /net/vmw_vsock
parent41116599a0731f4cd451e9d191d879ab45e31945 (diff)
downloadlinux-1af7e55511fe194a07f3fa4e77b5b9d10bdd9208.tar.gz
linux-1af7e55511fe194a07f3fa4e77b5b9d10bdd9208.tar.bz2
linux-1af7e55511fe194a07f3fa4e77b5b9d10bdd9208.zip
vhost/vsock: support MSG_EOR bit processing
'MSG_EOR' handling has similar logic as 'MSG_EOM' - if bit present in packet's header, reset it to 0. Then restore it back if packet processing wasn't completed. Instead of bool variable for each flag, bit mask variable was added: it has logical OR of 'MSG_EOR' and 'MSG_EOM' if needed, to restore flags, this variable is ORed with flags field of packet. Signed-off-by: Arseny Krasnov <arseny.krasnov@kaspersky.com> Link: https://lore.kernel.org/r/20210903123238.3273526-1-arseny.krasnov@kaspersky.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Diffstat (limited to 'net/vmw_vsock')
0 files changed, 0 insertions, 0 deletions