diff options
author | Carl Smith <carl.smith@alliedtelesis.co.nz> | 2019-11-12 14:57:37 +1300 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-11-12 19:35:37 +0000 |
commit | 592a909a302262cf4088a5468b8e427f577725e8 (patch) | |
tree | 8b1a6dfbafef459fe8289eaebb580d1a742724cf /src/vnet/devices/virtio | |
parent | ea93e48cf6e918937422638cb574964b88a146b6 (diff) |
vcl: fix nonblocking accept with >1 event in the queue
We discard unwanted events until we get an ACCEPTED.
But if we are non-blocking we need to check the queue
length every time and EAGAIN if empty before waiting.
Type: fix
Signed-off-by: Carl Smith <carl.smith@alliedtelesis.co.nz>
Change-Id: Ie0c7e5cb00f0d37d2e1534f8bb384221ff56f2e3
Diffstat (limited to 'src/vnet/devices/virtio')
0 files changed, 0 insertions, 0 deletions