diff options
Diffstat (limited to 'drivers/vhost/net.c')
-rw-r--r-- | drivers/vhost/net.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 247e5585af5d..1a2dd53caade 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c | |||
@@ -956,7 +956,7 @@ static void handle_tx(struct vhost_net *net) | |||
956 | if (!sock) | 956 | if (!sock) |
957 | goto out; | 957 | goto out; |
958 | 958 | ||
959 | if (!vq_iotlb_prefetch(vq)) | 959 | if (!vq_meta_prefetch(vq)) |
960 | goto out; | 960 | goto out; |
961 | 961 | ||
962 | vhost_disable_notify(&net->dev, vq); | 962 | vhost_disable_notify(&net->dev, vq); |
@@ -1125,7 +1125,7 @@ static void handle_rx(struct vhost_net *net) | |||
1125 | if (!sock) | 1125 | if (!sock) |
1126 | goto out; | 1126 | goto out; |
1127 | 1127 | ||
1128 | if (!vq_iotlb_prefetch(vq)) | 1128 | if (!vq_meta_prefetch(vq)) |
1129 | goto out; | 1129 | goto out; |
1130 | 1130 | ||
1131 | vhost_disable_notify(&net->dev, vq); | 1131 | vhost_disable_notify(&net->dev, vq); |