diff options
author | Zhang Chen <zhangchen.fnst@cn.fujitsu.com> | 2017-03-02 17:54:17 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2017-03-06 11:46:02 +0800 |
commit | 6efeb3286dd80c8c943f50fbb5f611d525cd6f8a (patch) | |
tree | b12042abe432fd26b76f582318f18b3eb2881bb0 /COPYING.LIB | |
parent | 2ad7ca4c81733cba5c5c464078a643aba61044f8 (diff) |
COLO-compare: Optimize compare_common and compare_tcp
Add offset args for colo_packet_compare_common, optimize
colo_packet_compare_icmp() and colo_packet_compare_udp()
just compare the IP payload. Before compare all tcp packet,
we compare tcp checksum firstly, this function can get
better performance.
Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'COPYING.LIB')
0 files changed, 0 insertions, 0 deletions