commit | 80661e7687f202514ee5eea0e74916d3c50c2606 | [log] [tgz] |
---|---|---|
author | Tom Herbert <tom@quantonium.net> | Sun Nov 05 15:58:22 2017 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 08 11:20:48 2017 +0900 |
tree | e8d48b073ed8d7a29ad9bc2ea2d22e5e3c591afc | |
parent | 3e29cd0e6563d5fefd59e7225750ee9922f2dad5 [diff] |
ila: cleanup checksum diff Consolidate computing checksum diff into one function. Add get_csum_diff_iaddr that computes the checksum diff between an address argument and locator being written. get_csum_diff calls this using the destination address in the IP header as the argument. Also moved ila_init_saved_csum to be close to the checksum diff functions. Signed-off-by: Tom Herbert <tom@quantonium.net> Signed-off-by: David S. Miller <davem@davemloft.net>