skb_postpush_rcsum() has been implemented in 4.4.47 therefore our compat code has to be changed to prevent this function to be implemented when using those kernels.
Signed-off-by: Antonio Quartulli a@unstable.cc --- compat-include/linux/skbuff.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compat-include/linux/skbuff.h b/compat-include/linux/skbuff.h index 6f739464..371bb561 100644 --- a/compat-include/linux/skbuff.h +++ b/compat-include/linux/skbuff.h @@ -77,7 +77,7 @@ struct sk_buff *skb_checksum_trimmed(struct sk_buff *skb,
#endif /* < KERNEL_VERSION(4, 2, 0) */
-#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 4, 47)
static inline void skb_postpush_rcsum(struct sk_buff *skb, const void *start, unsigned int len)