diff mbox

[RESEND,3] IPv6: 6rd tunnel mode

Message ID 20091007141832.GE15653@secunet.com
State Not Applicable, archived
Delegated to: David Miller
Headers show

Commit Message

Steffen Klassert Oct. 7, 2009, 2:18 p.m. UTC
On Wed, Oct 07, 2009 at 01:24:36AM -0700, David Miller wrote:
> From: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
> Date: Wed, 23 Sep 2009 18:43:14 +0900
> 
> > Subject: [PATCH] ipv6 sit: 6rd (IPv6 Rapid Deployment) Support.
> > 

I'm getting the following compile error after applying this patch:

  CC      net/ipv6/ip6_tunnel.o
 In file included from
/home/klassert/git/linux-sinafe-2.6/net/ipv6/ip6_tunnel.c:30:
 /home/klassert/git/linux-sinafe-2.6/include/linux/if_tunnel.h:59:
error: field 'prefix' has incomplete type
 make[3]: *** [net/ipv6/ip6_tunnel.o] Error 1

We probaply missing include/linux/in6.h in include/linux/if_tunnel.h
The patch below adds the missing include.

---  

Subject: [PATCH] if_tunnel.h: Add missing include

This patch fixes the following compile error:

  CC      net/ipv6/ip6_tunnel.o
 In file included from /home/klassert/git/linux-sinafe-2.6/net/ipv6/ip6_tunnel.c:30:
 /home/klassert/git/linux-sinafe-2.6/include/linux/if_tunnel.h:59: error: field 'prefix' has incomplete type
 make[3]: *** [net/ipv6/ip6_tunnel.o] Error 1

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
---
 include/linux/if_tunnel.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/include/linux/if_tunnel.h b/include/linux/if_tunnel.h
index c53c8e0..8d76cb4 100644
--- a/include/linux/if_tunnel.h
+++ b/include/linux/if_tunnel.h
@@ -5,6 +5,7 @@ 
 
 #ifdef __KERNEL__
 #include <linux/ip.h>
+#include <linux/in6.h>
 #endif
 
 #define SIOCGETTUNNEL   (SIOCDEVPRIVATE + 0)