Peter Foley 41bcea7b2c 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>
2022-02-14 11:50:44 +08:00
..
2020-12-15 10:02:07 -05:00
2020-12-15 10:02:07 -05:00
2021-10-20 04:44:05 -04:00
2021-03-15 16:41:22 +08:00
2021-06-04 13:38:49 +01:00
2022-02-14 11:50:44 +08:00
2016-02-04 17:41:30 +00:00
2019-01-14 00:44:29 +01:00
2021-11-28 17:03:52 -05:00