netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] ipt_iprange.h must #include <linux/types.h>
@ 2007-07-15 12:14 Adrian Bunk
  2007-07-17 15:05 ` Patrick McHardy
  2007-07-18  9:22 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Adrian Bunk @ 2007-07-15 12:14 UTC (permalink / raw)
  To: davem; +Cc: netdev, kaber, netfilter-devel, linux-kernel, cilly

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

This patch fixes kernel Bugzilla #7604.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
--- 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 */

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.6 patch] ipt_iprange.h must #include <linux/types.h>
  2007-07-15 12:14 [2.6 patch] ipt_iprange.h must #include <linux/types.h> Adrian Bunk
@ 2007-07-17 15:05 ` Patrick McHardy
  2007-07-18  9:22 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Patrick McHardy @ 2007-07-17 15:05 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: davem, netdev, netfilter-devel, linux-kernel, cilly

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


Applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.6 patch] ipt_iprange.h must #include <linux/types.h>
  2007-07-15 12:14 [2.6 patch] ipt_iprange.h must #include <linux/types.h> Adrian Bunk
  2007-07-17 15:05 ` Patrick McHardy
@ 2007-07-18  9:22 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2007-07-18  9:22 UTC (permalink / raw)
  To: bunk; +Cc: netdev, cilly, netfilter-devel, linux-kernel, kaber

From: Adrian Bunk <bunk@stusta.de>
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 <bunk@stusta.de>

Applied, and I'll push this to -stable too, thanks Adrian.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-18  9:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-15 12:14 [2.6 patch] ipt_iprange.h must #include <linux/types.h> Adrian Bunk
2007-07-17 15:05 ` Patrick McHardy
2007-07-18  9:22 ` David Miller

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 NNTP newsgroup(s).