summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-01-29 08:30:14 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-01-29 08:30:14 +0000
commitae54f935ea29636c98aa987d15829a38a96b886c (patch)
treefe4192607920c68d7e05ee3a0b7e252cdad55ee5 /5.5/00_all_0002-netfilter-pull-in-limits.h.patch
parenttesting.txt: drop net-misc/dahdi-tools as it needs specific kernel config (diff)
downloadlinux-headers-patches-ae54f935ea29636c98aa987d15829a38a96b886c.tar.gz
linux-headers-patches-ae54f935ea29636c98aa987d15829a38a96b886c.tar.bz2
linux-headers-patches-ae54f935ea29636c98aa987d15829a38a96b886c.zip
5.5: base on 5.4 patches
5.4. patches copied as-is with exception of 00_all_0008-uapi-fix-System-V-buf-header-includes.patch. There a few hunks are dropped as upstream adapted a fix. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to '5.5/00_all_0002-netfilter-pull-in-limits.h.patch')
-rw-r--r--5.5/00_all_0002-netfilter-pull-in-limits.h.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/5.5/00_all_0002-netfilter-pull-in-limits.h.patch b/5.5/00_all_0002-netfilter-pull-in-limits.h.patch
new file mode 100644
index 0000000..9b5b2c0
--- /dev/null
+++ b/5.5/00_all_0002-netfilter-pull-in-limits.h.patch
@@ -0,0 +1,28 @@
+From 0e43763b07e10e2c3cb517349ac2d541bcb62e5a Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Sat, 9 May 2009 17:30:35 -0400
+Subject: [PATCH] netfilter: pull in limits.h
+
+A few netfilter sub-headers use INT_MAX which is in limits.h.
+
+URL: http://bugs.gentoo.org/246160
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ include/uapi/linux/netfilter.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/uapi/linux/netfilter.h b/include/uapi/linux/netfilter.h
+index cca10e767cd8..de6d76399cd7 100644
+--- a/include/uapi/linux/netfilter.h
++++ b/include/uapi/linux/netfilter.h
+@@ -6,6 +6,7 @@
+ #include <linux/compiler.h>
+ #include <linux/in.h>
+ #include <linux/in6.h>
++#include <limits.h>
+
+ /* Responses from hook functions. */
+ #define NF_DROP 0
+--
+2.16.1
+