aboutsummaryrefslogtreecommitdiff
path: root/trace-events
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-03-27 17:36:29 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2013-04-17 11:43:44 +0200
commit5209d6753c90a3d6411abd0729a9cca3775dce3f (patch)
treec862a6d124ea97bb122a0717fac2f784d79fd193 /trace-events
parentcb6247a7e3e07ead908d2e7fbc8848cc2e135056 (diff)
iov: reorganize iov_send_recv, part 2
Do not touch the "bytes" argument anymore. Instead, remember the original length of the last iovec if we touch it, and restore it afterwards. This requires undoing the changes in opposite order. The previous algorithm didn't care. Reviewed-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Orit Wassermann <owasserm@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'trace-events')
0 files changed, 0 insertions, 0 deletions