summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ila/ila_lwt.c
diff options
context:
space:
mode:
authorTom Herbert2017-11-06 00:58:22 +0100
committerDavid S. Miller2017-11-08 03:20:48 +0100
commit80661e7687f202514ee5eea0e74916d3c50c2606 (patch)
treee8d48b073ed8d7a29ad9bc2ea2d22e5e3c591afc /net/ipv6/ila/ila_lwt.c
parentxdp: Sample xdp program implementing ip forward (diff)
downloadkernel-qcow2-linux-80661e7687f202514ee5eea0e74916d3c50c2606.tar.gz
kernel-qcow2-linux-80661e7687f202514ee5eea0e74916d3c50c2606.tar.xz
kernel-qcow2-linux-80661e7687f202514ee5eea0e74916d3c50c2606.zip
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>
Diffstat (limited to 'net/ipv6/ila/ila_lwt.c')
0 files changed, 0 insertions, 0 deletions