]> git.baikalelectronics.ru Git - kernel.git/commit
vhost: don't bother with copying iovec in handle_tx()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 10 Dec 2014 20:00:58 +0000 (15:00 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 4 Feb 2015 06:34:16 +0000 (01:34 -0500)
commite732d9713cbc73bdd75b4f7ae929b1250e3191f1
tree9bb6a91ca35a969344314cb0e4b5173d18e5581a
parent059b67359d5dcbe3136331f459ee5b57e8bbbfe5
vhost: don't bother with copying iovec in handle_tx()

just advance the msg.msg_iter and be done with that.

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: kvm@vger.kernel.org
Cc: virtualization@lists.linux-foundation.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/vhost/net.c