Skip to content
Commit abc5d1ff authored by Tom Herbert's avatar Tom Herbert Committed by David S. Miller
Browse files

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: default avatarTom Herbert <tom@herbertland.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4b048d6d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment