Backports Archive mirror
 help / color / mirror / Atom feed
From: "Dembianny, Sven (GDE-EDSO)" <Sven.Dembianny@bshg.com>
To: "backports@vger.kernel.org" <backports@vger.kernel.org>
Cc: "Dembianny, Sven (GDE-EDSO)" <Sven.Dembianny@bshg.com>
Subject: [PATCH 1/1] backports: fix build on recent v4.14 kernels
Date: Mon, 13 Dec 2021 10:37:36 +0000	[thread overview]
Message-ID: <20211213103700.14935-1-sven.dembianny@bshg.com> (raw)

Signed-off-by: Sven Dembianny <sven.dembianny@bshg.com>
---
 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

             reply	other threads:[~2021-12-13 10:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-13 10:37 Dembianny, Sven (GDE-EDSO) [this message]
2021-12-14 22:56 ` [PATCH 1/1] backports: fix build on recent v4.14 kernels Hauke Mehrtens
  -- strict thread matches above, loose matches on Subject: below --
2021-12-09 16:25 [PATCH 0/1] " Dembianny, Sven (GDE-EDSO)
2021-12-09 16:25 ` [PATCH 1/1] " Dembianny, Sven (GDE-EDSO)
2021-12-11 19:04   ` Hauke Mehrtens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211213103700.14935-1-sven.dembianny@bshg.com \
    --to=sven.dembianny@bshg.com \
    --cc=backports@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).