diff options
author | Arseniy Krasnov <avkrasnov@salutedevices.com> | 2023-10-10 22:15:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-10-15 13:19:42 +0100 |
commit | 0064cfb44084ba98927d8e72340ab78e5887462b (patch) | |
tree | 9d35780983a555a459cea3a770902f9cdf2d0889 /arch/um | |
parent | 85605fb694f084ba017c93c150e668882445ce73 (diff) |
vsock: set EPOLLERR on non-empty error queue
If socket's error queue is not empty, EPOLLERR must be set. Otherwise,
reader of error queue won't detect data in it using EPOLLERR bit.
Currently for AF_VSOCK this is actual only with MSG_ZEROCOPY, as this
feature is the only user of an error queue of the socket.
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 'arch/um')
0 files changed, 0 insertions, 0 deletions