qemu/net
Fan Yang aea18ef938 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>
(cherry picked from commit 1e907a32b7)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2019-11-04 08:25:01 -06:00
..
can
announce.c net/announce: Add optional ID 2019-07-02 10:21:06 +08:00
checksum.c
clients.h
colo-compare.c COLO-compare: Fix incorrect if logic 2019-11-04 08:25:01 -06:00
colo-compare.h
colo.c
colo.h
dump.c
eth.c
filter-buffer.c
filter-mirror.c
filter-replay.c
filter-rewriter.c
filter.c
hub.c
hub.h
l2tpv3.c
Makefile.objs
net.c net: remove unused get_str_sep() function 2019-07-02 10:21:06 +08:00
netmap.c
queue.c
slirp.c
socket.c
tap-bsd.c
tap-linux.c
tap-linux.h
tap-solaris.c
tap-stub.c
tap-win32.c
tap.c net: tap: replace snprintf with g_strdup_printf calls 2019-07-29 16:29:30 +08:00
tap_int.h
trace-events net/announce: Add optional ID 2019-07-02 10:21:06 +08: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-11-04 08:09:49 -06:00