diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-05-31 05:05:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-01 05:50:13 +0300 |
commit | 4b8e6ac41a594ea67ded6af6af5935f03221ea4c (patch) | |
tree | 3a6680a8a4383765cc0dc24ffcb418ddbf4c4940 /net/core/rtnetlink.c | |
parent | ccf8dbcd062a930e64741c939ca784d15316aa0c (diff) | |
download | linux-4b8e6ac41a594ea67ded6af6af5935f03221ea4c.tar.xz |
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 'net/core/rtnetlink.c')
0 files changed, 0 insertions, 0 deletions