mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 11:39:53 +00:00
net/tap: Set return code on failure
Match the other error handling in this function.
Fixes: e7b347d0bf
("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>
This commit is contained in:
parent
f3e5a17593
commit
41bcea7b2c
Loading…
Reference in New Issue
Block a user