diff options
author | zhanghailiang <zhang.zhanghailiang@huawei.com> | 2017-02-28 11:54:19 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2017-03-06 11:46:02 +0800 |
commit | db0a762e4be965b8976abe9df82c6d47c57336fc (patch) | |
tree | 8264bc63c8c08fe8a66d7c9106852bf80cd1fdde /hax-stub.c | |
parent | 0e79668e1ffcfabb259bea6c2a2bae00a6b27252 (diff) |
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 'hax-stub.c')
0 files changed, 0 insertions, 0 deletions