qemu/net/colo-compare.c:288: possible pointless code duplication ?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
qemu/net/
Source code is
if (ppkt->tcp_seq == spkt->tcp_seq && ppkt->seq_end == spkt->seq_end) {
if (colo_compare_
*mark = COLO_COMPARE_
return true;
}
}
if (ppkt->tcp_seq == spkt->tcp_seq && ppkt->seq_end == spkt->seq_end) {
if (colo_compare_
*mark = COLO_COMPARE_
return true;
}
}
Maybe the second block was supposed to be different ?
Changed in qemu: | |
status: | Fix Committed → Fix Released |
Have fixed in this patch. /lists. nongnu. org/archive/ html/qemu- devel/2019- 01/msg02859. html
https:/
Thanks
Zhang Chen