commit | abc5d1ff3e8f9b4a9d274818459b123e31981dc9 | [log] [tgz] |
---|---|---|
author | Tom Herbert <tom@herbertland.com> | Mon Aug 17 13:42:26 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 17 21:33:06 2015 -0700 |
tree | bfe90be833065a4707499800e25c8b65bcbb25b0 | |
parent | 4b048d6d9d0b0b90e1e94f2393796bbf1fa8df4e [diff] |
net: Add inet_proto_csum_replace_by_diff utility function This function updates a checksum field value and skb->csum based on a value which is the difference between the old and new checksum. Signed-off-by: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net>