mirror of
https://github.com/xemu-project/xemu.git
synced 2026-12-05 12:03:27 +01: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:
1 parent
f3e5a17593
commit
41bcea7b2c
1 file changed
+1