summaryrefslogtreecommitdiff
path: root/net/wireless
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-02-25 15:19:28 +0100
committerDavid S. Miller <davem@davemloft.net>2015-02-27 15:53:44 -0500
commit4c5a84421c7d1c259c3883a404f9a67a2f55b003 (patch)
tree03a323eceb7203dcf739317e5bb2a3e34cf52e7c /net/wireless
parent5f2ebfbee68872762ad76f735277ed7afa074d76 (diff)
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>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions