diff options
author | Arseniy Krasnov <avkrasnov@salutedevices.com> | 2023-10-10 22:15:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-10-15 15:19:42 +0300 |
commit | 49dbe25adac42d3e06f65d1420946bec65896222 (patch) | |
tree | 978587905b267e3dd01ce3f09d87767c9bad321a /net/strparser | |
parent | 0064cfb44084ba98927d8e72340ab78e5887462b (diff) | |
download | linux-49dbe25adac42d3e06f65d1420946bec65896222.tar.xz |
vsock: read from socket's error queue
This adds handling of MSG_ERRQUEUE input flag in receive call. This flag
is used to read socket's error queue instead of data queue. Possible
scenario of error queue usage is receiving completions for transmission
with MSG_ZEROCOPY flag. This patch also adds new defines: 'SOL_VSOCK'
and 'VSOCK_RECVERR'.
Signed-off-by: Arseniy Krasnov <avkrasnov@salutedevices.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/strparser')
0 files changed, 0 insertions, 0 deletions