diff options
author | 2015-02-03 11:07:06 +0200 | |
---|---|---|
committer | 2015-02-04 13:59:31 -0800 | |
commit | 5201aa49b0fc12d9bf911090744ca04066bad4a7 (patch) | |
tree | a7fab4ac90b4f820531e639a390998255b4fb2b1 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | gianfar: correct the bad expression while writing bit-pattern (diff) | |
download | wireguard-linux-5201aa49b0fc12d9bf911090744ca04066bad4a7.tar.xz wireguard-linux-5201aa49b0fc12d9bf911090744ca04066bad4a7.zip |
vhost/net: fix up num_buffers endian-ness
In virtio 1.0 mode, when mergeable buffers are enabled on a big-endian
host, num_buffers wasn't byte-swapped correctly, so large incoming
packets got corrupted.
To fix, fill it in within hdr - this also makes sure it gets
the correct type.
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