Tom Herbert 80661e7687 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>
2017-11-08 11:20:48 +09:00
..
2017-11-05 22:26:20 +09:00
2017-11-01 12:19:03 +09:00
2017-11-08 11:20:48 +09:00
2017-08-29 15:16:52 -07:00
2017-08-16 11:27:52 -07:00