diff options
author | 2015-02-25 15:19:28 +0100 | |
---|---|---|
committer | 2015-02-27 15:53:44 -0500 | |
commit | 4c5a84421c7d1c259c3883a404f9a67a2f55b003 (patch) | |
tree | 03a323eceb7203dcf739317e5bb2a3e34cf52e7c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | rocker: silence shift wrapping warning (diff) | |
download | linux-dev-4c5a84421c7d1c259c3883a404f9a67a2f55b003.tar.xz linux-dev-4c5a84421c7d1c259c3883a404f9a67a2f55b003.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions