[PATCH 1/1] backports: fix build on recent v4.14 kernels
"Dembianny, Sven (GDE-EDSO)" <[email protected]>
| Newsgroups | org.kernel.vger.backports |
|---|---|
| Message-ID | <[email protected]> |
Signed-off-by: Sven Dembianny <[email protected]> --- backport/backport-include/linux/skbuff.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe backports" in