aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2022-10-11 23:04:43 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-10-23 18:08:42 +0200
commit702f851c922970c408fe0e9c9dd32f23c01e3833 (patch)
tree7a70cc22e02dbe7a01c37d8b7c4adf9962e5e5c7
parent9ddeada2195c0754cc12d0eb173a60a0a12cd8f1 (diff)
downloadbackports-702f851c922970c408fe0e9c9dd32f23c01e3833.tar.gz
backports: don't backport some SKB functions for RHEL 7.6
For RHEL 7.6 these were backported, so don't do it again. Signed-off-by: Johannes Berg <johannes.berg@intel.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 2860c9c4..fffe2345 100644
--- a/backport/backport-include/linux/skbuff.h
+++ b/backport/backport-include/linux/skbuff.h
@@ -4,7 +4,8 @@
#include <linux/version.h>
-#if LINUX_VERSION_IS_LESS(4,13,0)
+#if LINUX_VERSION_IS_LESS(4,13,0) && \
+ RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(7,6)
static inline void *backport_skb_put(struct sk_buff *skb, unsigned int len)
{
return skb_put(skb, len);