linux/drivers/vhost
Michael S. Tsirkin 4c5a84421c vhost: cleanup iterator update logic
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-02-27 15:53:44 -05:00
..
Kconfig
Makefile
net.c vhost: cleanup iterator update logic 2015-02-27 15:53:44 -05:00
scsi.c vhost: vhost_scsi_handle_vq() should just use copy_from_user() 2015-02-04 01:34:16 -05:00
test.c vhost: move memory pointer to VQs 2014-06-09 16:21:07 +03:00
test.h
vhost.c vhost: switch vhost get_indirect() to iov_iter, kill memcpy_fromiovec() 2015-02-04 01:34:15 -05:00
vhost.h vhost: remove unnecessary forward declarations in vhost.h 2014-12-09 12:06:33 +02:00
vringh.c vringh: update for virtio 1.0 APIs 2014-12-15 23:49:28 +02:00