mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-29 18:18:54 +00:00
bcefc874d6
Issue #1974.
14 lines
532 B
Diff
14 lines
532 B
Diff
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
|
|
index 9147f9f..c63ee5c 100644
|
|
--- a/include/linux/skbuff.h
|
|
+++ b/include/linux/skbuff.h
|
|
@@ -3281,7 +3281,7 @@ static inline void skb_remcsum_process(struct sk_buff *skb, void *ptr,
|
|
|
|
if (unlikely(skb->ip_summed != CHECKSUM_COMPLETE)) {
|
|
__skb_checksum_complete(skb);
|
|
- skb_postpull_rcsum(skb, skb->data, ptr - (void *)skb->data);
|
|
+ skb_postpull_rcsum(skb, skb->data, (unsigned char*)ptr - skb->data);
|
|
}
|
|
|
|
delta = remcsum_adjust(ptr, skb->csum, start, offset);
|