diff options
author | Damjan Marion <damarion@cisco.com> | 2020-08-31 19:54:19 +0200 |
---|---|---|
committer | BenoƮt Ganne <bganne@cisco.com> | 2020-09-01 06:56:26 +0000 |
commit | 9a79a1ab931c3b5a7ae07d6f0fcfef7c4368a2c4 (patch) | |
tree | fc74fb440e5f7aaf64c6c66c0b8c3960c082f360 /.gitreview | |
parent | edc816355a999df476074881ae8ed927cad88532 (diff) |
ip: improve ip4_header_checksum_is_valid
It is cheaper to include checksum field in calculation and simply
compare result with zero.
Type: improvement
Change-Id: I6f77632c0a4d2f2c632d044d3a5d2fcf2b5bac62
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to '.gitreview')
0 files changed, 0 insertions, 0 deletions