netdev
[Top] [All Lists]

Re: ip6_tables warning

To: geert@xxxxxxxxxxxxxx, davem@xxxxxxxxxx
Subject: Re: ip6_tables warning
From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx>
Date: Thu, 17 Jun 2004 19:13:56 +0900 (JST)
Cc: marcelo.tosatti@xxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, yoshfuji@xxxxxxxxxxxxxx
In-reply-to: <Pine.GSO.4.58.0406171139020.22919@xxxxxxxxxxxxxxxxxxxx>
Organization: USAGI Project
References: <20040616183343.GA9940@xxxxxxxxxx> <Pine.GSO.4.58.0406171139020.22919@xxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
In article <Pine.GSO.4.58.0406171139020.22919@xxxxxxxxxxxxxxxxxxxx> (at Thu, 17 
Jun 2004 12:06:17 +0200 (MEST)), Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> says:

> This is not a new problem, but I never bothered to report it before:
> 
> | ip6_tables.c: In function `tcp_match':
> | ip6_tables.c:1596: warning: implicit declaration of function 
> `ipv6_skip_exthdr'
> It needs to include <net/ipv6.h> to kill the warning.

Here it is.

===== net/ipv6/netfilter/ip6_tables.c 1.17 vs edited =====
--- 1.17/net/ipv6/netfilter/ip6_tables.c        2004-06-07 12:13:18 +09:00
+++ edited/net/ipv6/netfilter/ip6_tables.c      2004-06-17 19:11:08 +09:00
@@ -20,6 +20,7 @@
 #include <linux/udp.h>
 #include <linux/icmpv6.h>
 #include <net/ip.h>
+#include <net/ipv6.h>
 #include <asm/uaccess.h>
 #include <asm/semaphore.h>
 #include <linux/proc_fs.h>

-- 
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA

<Prev in Thread] Current Thread [Next in Thread>