commit | db0a762e4be965b8976abe9df82c6d47c57336fc | [log] [tgz] |
---|---|---|
author | zhanghailiang <zhang.zhanghailiang@huawei.com> | Tue Feb 28 11:54:19 2017 +0800 |
committer | Jason Wang <jasowang@redhat.com> | Mon Mar 06 11:46:02 2017 +0800 |
tree | 8264bc63c8c08fe8a66d7c9106852bf80cd1fdde | |
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>