diff options
author | 2018-05-31 02:05:07 +0000 | |
---|---|---|
committer | 2018-05-31 22:50:13 -0400 | |
commit | 4b8e6ac41a594ea67ded6af6af5935f03221ea4c (patch) | |
tree | 3a6680a8a4383765cc0dc24ffcb418ddbf4c4940 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rtnetlink: Remove VLA usage (diff) | |
download | wireguard-linux-4b8e6ac41a594ea67ded6af6af5935f03221ea4c.tar.xz wireguard-linux-4b8e6ac41a594ea67ded6af6af5935f03221ea4c.zip |
virtio_net: fix error return code in virtnet_probe()
Fix to return a negative error code from the failover create fail error
handling case instead of 0, as done elsewhere in this function.
Fixes: ba5e4426e80e ("virtio_net: Extend virtio to use VF datapath when available")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions