summaryrefslogtreecommitdiffstats
path: root/include/hw/virtio
diff options
context:
space:
mode:
authorFan Yang2019-09-24 16:08:29 +0200
committerJason Wang2019-10-29 03:28:07 +0100
commit1e907a32b77e5d418538453df5945242e43224fa (patch)
tree86b1154f7d56546dc08bff1ca9e9113929effeed /include/hw/virtio
parentvirtio-net: prevent offloads reset on migration (diff)
downloadqemu-1e907a32b77e5d418538453df5945242e43224fa.tar.gz
qemu-1e907a32b77e5d418538453df5945242e43224fa.tar.xz
qemu-1e907a32b77e5d418538453df5945242e43224fa.zip
COLO-compare: Fix incorrect `if` logic
'colo_mark_tcp_pkt' should return 'true' when packets are the same, and 'false' otherwise. However, it returns 'true' when 'colo_compare_packet_payload' returns non-zero while 'colo_compare_packet_payload' is just a 'memcmp'. The result is that COLO-compare reports inconsistent TCP packets when they are actually the same. Fixes: f449c9e549c ("colo: compare the packet based on the tcp sequence number") Cc: qemu-stable@nongnu.org Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Fan Yang <Fan_Yang@sjtu.edu.cn> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include/hw/virtio')
0 files changed, 0 insertions, 0 deletions