[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150227.155845.171916200094175034.davem@davemloft.net>
Date: Fri, 27 Feb 2015 15:58:45 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: mst@...hat.com
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org
Subject: Re: [PATCH] vhost: cleanup iterator update logic
From: "Michael S. Tsirkin" <mst@...hat.com>
Date: Tue, 24 Feb 2015 17:31:31 +0100
> Recent iterator-related changes in vhost made it
> harder to follow the logic fixing up the header.
> In fact, the fixup always happens at the same
> offset: sizeof(virtio_net_hdr): sometimes the
> fixup iterator is updated by copy_to_iter,
> sometimes-by iov_iter_advance.
>
> Rearrange code to make this obvious.
>
> Signed-off-by: Michael S. Tsirkin <mst@...hat.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists