qemu-e2k/net
Fan Yang 1e907a32b7 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: f449c9e549 ("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>
2019-10-29 10:28:07 +08:00
..
can Include qemu/main-loop.h less 2019-08-16 13:31:52 +02:00
announce.c net/announce: Add optional ID 2019-07-02 10:21:06 +08:00
checksum.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
clients.h
colo-compare.c COLO-compare: Fix incorrect if logic 2019-10-29 10:28:07 +08:00
colo-compare.h
colo.c
colo.h
dump.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
eth.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
filter-buffer.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
filter-mirror.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
filter-replay.c
filter-rewriter.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
filter.c
hub.c
hub.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
l2tpv3.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
Makefile.objs
net.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
netmap.c Include qemu/main-loop.h less 2019-08-16 13:31:52 +02:00
queue.c
slirp.c slirp: Allow non-local DNS address when restrict is off 2019-10-01 19:03:08 +02:00
socket.c
tap_int.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
tap-bsd.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
tap-linux.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
tap-linux.h
tap-solaris.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
tap-stub.c
tap-win32.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
tap.c Include qemu/main-loop.h less 2019-08-16 13:31:52 +02:00
trace-events trace: Remove trailing newline in events 2019-09-18 10:19:47 +01:00
util.c
util.h
vde.c
vhost-user-stub.c
vhost-user.c vhost-user: save features if the char dev is closed 2019-10-05 17:12:08 -04:00