summaryrefslogtreecommitdiffstats
path: root/util/oslib-posix.c
diff options
context:
space:
mode:
authorzhanghailiang2017-02-28 04:54:19 +0100
committerJason Wang2017-03-06 04:46:02 +0100
commitdb0a762e4be965b8976abe9df82c6d47c57336fc (patch)
tree8264bc63c8c08fe8a66d7c9106852bf80cd1fdde /util/oslib-posix.c
parentnet/colo: fix memory double free error (diff)
downloadqemu-db0a762e4be965b8976abe9df82c6d47c57336fc.tar.gz
qemu-db0a762e4be965b8976abe9df82c6d47c57336fc.tar.xz
qemu-db0a762e4be965b8976abe9df82c6d47c57336fc.zip
filter-rewriter: skip net_checksum_calculate() while offset = 0
While the offset of packets's sequence for primary side and secondary side is zero, it is unnecessary to call net_checksum_calculate() to recalculate the checksume value of packets. Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'util/oslib-posix.c')
0 files changed, 0 insertions, 0 deletions