summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/net.c
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2010-11-29 13:48:40 +0800
committerMichael S. Tsirkin <mst@redhat.com>2010-12-09 15:39:15 +0200
commita290aec88a9c4747353ea7aa9b2569bd61297c3c (patch)
treec9d46a48b3f6f8f6986e746f54683241dc0b287c /drivers/vhost/net.c
parentbf5e0bd27f7cbaca4d52ae395bbf3715775efebd (diff)
downloadop-kernel-dev-a290aec88a9c4747353ea7aa9b2569bd61297c3c.zip
op-kernel-dev-a290aec88a9c4747353ea7aa9b2569bd61297c3c.tar.gz
vhost: fix typos in comment
Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/net.c')
-rw-r--r--drivers/vhost/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c
index d10da28..14fc189 100644
--- a/drivers/vhost/net.c
+++ b/drivers/vhost/net.c
@@ -452,7 +452,7 @@ static void handle_rx_mergeable(struct vhost_net *net)
move_iovec_hdr(vq->iov, vq->hdr, vhost_hlen, in);
else
/* Copy the header for use in VIRTIO_NET_F_MRG_RXBUF:
- * needed because sendmsg can modify msg_iov. */
+ * needed because recvmsg can modify msg_iov. */
copy_iovec_hdr(vq->iov, vq->hdr, sock_hlen, in);
msg.msg_iovlen = in;
err = sock->ops->recvmsg(NULL, sock, &msg,
OpenPOWER on IntegriCloud