aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorMichael S. Tsirkin <[email protected]>2015-01-07 10:51:00 +0200
committerMichael S. Tsirkin <[email protected]>2015-01-07 12:22:00 +0200
commit99975cc6ada0d5f2675e83abecae05aba5f437d2 (patch)
treecd2c592b0eb4a69108029bfe64f79f657c4ef835 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parenta1eb03f546d651a8f39c7d0692b1f7f5b4e7e3cd (diff)
vhost/net: length miscalculation
commit 8b38694a2dc8b18374310df50174f1e4376d6824 vhost/net: virtio 1.0 byte swap had this chunk: - heads[headcount - 1].len += datalen; + heads[headcount - 1].len = cpu_to_vhost32(vq, len - datalen); This adds datalen with the wrong sign, causing guest panics. Fixes: 8b38694a2dc8b18374310df50174f1e4376d6824 Reported-by: Alex Williamson <[email protected]> Suggested-by: Greg Kurz <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions