[2.6 patch] ipt_iprange.h must #include <linux/types.h>

STALE6971d

3 messages, 3 authors, 2007-07-18 · open the first message on its own page

[2.6 patch] ipt_iprange.h must #include <linux/types.h>

From: Adrian Bunk <hidden>
Date: 2007-07-15 12:15:12

ipt_iprange.h must #include <linux/types.h> since it uses __be32.

This patch fixes kernel Bugzilla #7604.

Signed-off-by: Adrian Bunk <redacted>

---
--- linux-2.6.22-rc6-mm1/include/linux/netfilter_ipv4/ipt_iprange.h.old	2007-07-15 13:07:40.000000000 +0200
+++ linux-2.6.22-rc6-mm1/include/linux/netfilter_ipv4/ipt_iprange.h	2007-07-15 13:07:55.000000000 +0200
@@ -1,6 +1,8 @@
 #ifndef _IPT_IPRANGE_H
 #define _IPT_IPRANGE_H
 
+#include <linux/types.h>
+
 #define IPRANGE_SRC		0x01	/* Match source IP address */
 #define IPRANGE_DST		0x02	/* Match destination IP address */
 #define IPRANGE_SRC_INV		0x10	/* Negate the condition */

Re: [2.6 patch] ipt_iprange.h must #include <linux/types.h>

From: Patrick McHardy <hidden>
Date: 2007-07-17 15:06:18

Adrian Bunk wrote:
ipt_iprange.h must #include <linux/types.h> since it uses __be32.

Applied, thanks.

Re: [2.6 patch] ipt_iprange.h must #include <linux/types.h>

From: David Miller <davem@davemloft.net>
Date: 2007-07-18 09:22:51

From: Adrian Bunk <redacted>
Date: Sun, 15 Jul 2007 14:14:19 +0200
ipt_iprange.h must #include <linux/types.h> since it uses __be32.

This patch fixes kernel Bugzilla #7604.

Signed-off-by: Adrian Bunk <redacted>
Applied, and I'll push this to -stable too, thanks Adrian.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help