aboutgitcodebugslistschat
path: root/util.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-11-08 09:08:32 +0100
committerStefano Brivio <sbrivio@redhat.com>2022-11-10 11:17:50 +0100
commit198f87835dc448c7561e2d8ba0ece24e63bc9447 (patch)
treebd6c775e686411a55b5d14aa4f93f408fc4d33d5 /util.c
parent510dace86ccf0bd63be3b1dbd35ae9c0b0538e5b (diff)
downloadpasst-198f87835dc448c7561e2d8ba0ece24e63bc9447.tar
passt-198f87835dc448c7561e2d8ba0ece24e63bc9447.tar.gz
passt-198f87835dc448c7561e2d8ba0ece24e63bc9447.tar.bz2
passt-198f87835dc448c7561e2d8ba0ece24e63bc9447.tar.lz
passt-198f87835dc448c7561e2d8ba0ece24e63bc9447.tar.xz
passt-198f87835dc448c7561e2d8ba0ece24e63bc9447.tar.zst
passt-198f87835dc448c7561e2d8ba0ece24e63bc9447.zip
tap: Return -EIO from tap_handler_passt() on inconsistent packet stream
While it's important to fail in that case, it makes little sense to fail quietly: it's better to tell qemu explicitly that something went wrong and that we won't recover, by closing the socket. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions