* [B.A.T.M.A.N.] [PATCH] batman-adv: don't implement skb_postpush_rcsum() for linux >=4.4.47
@ 2018-05-11 19:02 Antonio Quartulli
2018-05-11 19:12 ` Sven Eckelmann
0 siblings, 1 reply; 2+ messages in thread
From: Antonio Quartulli @ 2018-05-11 19:02 UTC (permalink / raw)
To: b.a.t.m.a.n; +Cc: Antonio Quartulli
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)
--
2.17.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-11 19:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-11 19:02 [B.A.T.M.A.N.] [PATCH] batman-adv: don't implement skb_postpush_rcsum() for linux >=4.4.47 Antonio Quartulli
2018-05-11 19:12 ` Sven Eckelmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox