diff options
author | Peter Foley <pefoley@google.com> | 2022-01-14 13:08:58 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2022-02-14 11:50:44 +0800 |
commit | 41bcea7b2c99b8aec613beb62a6cdeb371a09449 (patch) | |
tree | d4f87b1500ed18464409dfa6fef754b1577fbb8c /tcg | |
parent | f3e5a17593b972a9a6079ccf7677b4389d74d5a1 (diff) | |
download | qemu-41bcea7b2c99b8aec613beb62a6cdeb371a09449.zip qemu-41bcea7b2c99b8aec613beb62a6cdeb371a09449.tar.gz qemu-41bcea7b2c99b8aec613beb62a6cdeb371a09449.tar.bz2 |
net/tap: Set return code on failure
Match the other error handling in this function.
Fixes: e7b347d0bf6 ("net: detect errors from probing vnet hdr flag for TAP devices")
Reviewed-by: Patrick Venture <venture@google.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Peter Foley <pefoley@google.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions