summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2018-06-19 00:15:23 +0100
committerMike Frysinger <vapier@gentoo.org>2018-06-19 00:15:23 +0100
commitb992677feb8c18f6a67629578b0c8497a5c48638 (patch)
treed1b54083cbf41737963d1826b4b442f42a50a36a /4.16/00_all_0002-netfilter-pull-in-limits.h.patch
parentrip-headers.sh: add ripping of missing 'kernel/syscalls' directory for s390 (diff)
downloadlinux-headers-patches-b992677feb8c18f6a67629578b0c8497a5c48638.tar.gz
linux-headers-patches-b992677feb8c18f6a67629578b0c8497a5c48638.tar.bz2
linux-headers-patches-b992677feb8c18f6a67629578b0c8497a5c48638.zip
import 4.16 headers that were released based on 4.15
Diffstat (limited to '4.16/00_all_0002-netfilter-pull-in-limits.h.patch')
-rw-r--r--4.16/00_all_0002-netfilter-pull-in-limits.h.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/4.16/00_all_0002-netfilter-pull-in-limits.h.patch b/4.16/00_all_0002-netfilter-pull-in-limits.h.patch
new file mode 100644
index 0000000..187b822
--- /dev/null
+++ b/4.16/00_all_0002-netfilter-pull-in-limits.h.patch
@@ -0,0 +1,28 @@
+From 7789b768b7aa1f69626c894f2b6d729622a75bbd 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
+