aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDembianny, Sven (GDE-EDSO) <Sven.Dembianny@bshg.com>2021-12-13 10:37:36 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2021-12-14 21:15:36 +0100
commitda91dad156aa03093beaa75b35eefbdfc09f9455 (patch)
tree045f729742ce200a30bcd72802019e15eddabbd2
parent4e45bb550830e022d3fe4f1381ee688cec9e8f48 (diff)
downloadbackports-da91dad156aa03093beaa75b35eefbdfc09f9455.tar.gz
backports: fix build on recent v4.14 kernels
Signed-off-by: Sven Dembianny <sven.dembianny@bshg.com>
-rw-r--r--backport/backport-include/linux/skbuff.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/backport/backport-include/linux/skbuff.h b/backport/backport-include/linux/skbuff.h
index 1fd25fcd..c5015e9d 100644
--- a/backport/backport-include/linux/skbuff.h
+++ b/backport/backport-include/linux/skbuff.h
@@ -62,7 +62,8 @@ static inline struct sk_buff *__skb_peek(const struct sk_buff_head *list_)
return list_->next;
}
-#if !LINUX_VERSION_IN_RANGE(4,19,10, 4,20,0)
+#if !LINUX_VERSION_IN_RANGE(4,19,10, 4,20,0) && \
+ !LINUX_VERSION_IN_RANGE(4,14,217, 4,15,0)
static inline void skb_mark_not_on_list(struct sk_buff *skb)
{
skb->next = NULL;