diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-03-30 05:45:23 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-03-30 05:50:17 +0200 |
commit | 8fd20ad99d24a517fa1771e1863f51a32d2fe8a4 (patch) | |
tree | d7807c04b3bf75fc4caebced39001eabaced01ed /test/build | |
parent | 8d85b6a99ebf02a65a097ac3f5cdb83cd4119bd5 (diff) | |
download | passt-8fd20ad99d24a517fa1771e1863f51a32d2fe8a4.tar passt-8fd20ad99d24a517fa1771e1863f51a32d2fe8a4.tar.gz passt-8fd20ad99d24a517fa1771e1863f51a32d2fe8a4.tar.bz2 passt-8fd20ad99d24a517fa1771e1863f51a32d2fe8a4.tar.lz passt-8fd20ad99d24a517fa1771e1863f51a32d2fe8a4.tar.xz passt-8fd20ad99d24a517fa1771e1863f51a32d2fe8a4.tar.zst passt-8fd20ad99d24a517fa1771e1863f51a32d2fe8a4.zip |
tap: Re-read from tap in tap_handler_pasta() on buffer full
read() will return zero if we pass a zero length, which makes no
sense: instead, track explicitly that we exhausted the buffer, flush
packets to handlers and redo.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/build')
0 files changed, 0 insertions, 0 deletions