From: Tom Herbert t...@herbertland.com
Date: Mon, 17 Aug 2015 09:56:50 -0700
+void inet_proto_csum_replace_by_diff(__sum16 *sum, struct sk_buff *skb,
+ __wsum diff, int pseudohdr);
...
+void inet_proto_csum_replace_by_diff(__sum16 *sum, struct sk_buff *skb,
+
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 t...@herbertland.com
---
include/net/checksum.h | 2 ++
net/core/utils.c | 13 +
2 files changed, 15 insertions(+)