From: David Miller <davem@davemloft.net>
To: mst@redhat.com
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
kvm@vger.kernel.org, virtualization@lists.linux-foundation.org
Subject: Re: [PATCH] vhost: cleanup iterator update logic
Date: Fri, 27 Feb 2015 15:58:45 -0500 (EST) [thread overview]
Message-ID: <20150227.155845.171916200094175034.davem@davemloft.net> (raw)
In-Reply-To: <1424795477-6820-1-git-send-email-mst@redhat.com>
From: "Michael S. Tsirkin" <mst@redhat.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@redhat.com>
Applied.
next prev parent reply other threads:[~2015-02-27 20:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-24 16:31 [PATCH] vhost: cleanup iterator update logic Michael S. Tsirkin
2015-02-27 20:58 ` David Miller [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-02-25 14:19 Michael S. Tsirkin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150227.155845.171916200094175034.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mst@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=virtualization@lists.linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).