mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-18 15:18:20 +00:00
dde_linux: USB client driver for NIC version 4.16
This commit is contained in:
committed by
Christian Helmuth
parent
b32a3cd4d9
commit
2882bd48e6
13
repos/dde_linux/patches/usb_net_skbuff_cast.patch
Normal file
13
repos/dde_linux/patches/usb_net_skbuff_cast.patch
Normal file
@ -0,0 +1,13 @@
|
||||
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);
|
Reference in New Issue
Block a user