Re: [PATCH v3 16/18] vhost: don't bother with copying iovec in handle_tx()

2015-02-04 Thread Michael S. Tsirkin
On Wed, Feb 04, 2015 at 06:40:07AM +, Al Viro wrote: > From: Al Viro > > just advance the msg.msg_iter and be done with that. > > Cc: Michael S. Tsirkin > Cc: kvm@vger.kernel.org > Cc: virtualizat...@lists.linux-foundation.org > Signed-off-by: Al Viro Acked-by: Michael S. Tsirkin > ---

[PATCH v3 16/18] vhost: don't bother with copying iovec in handle_tx()

2015-02-03 Thread Al Viro
From: Al Viro just advance the msg.msg_iter and be done with that. Cc: Michael S. Tsirkin Cc: kvm@vger.kernel.org Cc: virtualizat...@lists.linux-foundation.org Signed-off-by: Al Viro --- drivers/vhost/net.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/v