commit | 41bcea7b2c99b8aec613beb62a6cdeb371a09449 | [log] [tgz] |
---|---|---|
author | Peter Foley <pefoley@google.com> | Fri Jan 14 13:08:58 2022 +0800 |
committer | Jason Wang <jasowang@redhat.com> | Mon Feb 14 11:50:44 2022 +0800 |
tree | d4f87b1500ed18464409dfa6fef754b1577fbb8c | |
parent | f3e5a17593b972a9a6079ccf7677b4389d74d5a1 [diff] |
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>