Hi,

The following compile error occurs with linux-2.6.13-rc3-git5:

  CC      net/ipv6/ip6_tunnel.o
net/ipv6/ip6_tunnel.c: In function `ip6ip6_unregister':
net/ipv6/ip6_tunnel.c:1126: warning: implicit declaration of function 
`xfrm6_tunnel_unregister'
...
  LD      .tmp_vmlinux1
net/built-in.o(.init.text+0x4d58): In function `ip6_tunnel_init':
: undefined reference to `xfrm6_tunnel_unregister'
net/built-in.o(.exit.text+0x133b): In function `ip6_tunnel_cleanup':
: undefined reference to `xfrm6_tunnel_unregister'
make: *** [.tmp_vmlinux1] Error 1 

This patch seems correct:

Signed-off-by: Cal Peake <[EMAIL PROTECTED]>

--- linux-2.6.13-rc3-git5/net/ipv6/ip6_tunnel.c.orig    2005-07-23 
20:17:22.000000000 -0400
+++ linux-2.6.13-rc3-git5/net/ipv6/ip6_tunnel.c 2005-07-23 20:38:03.000000000 
-0400
@@ -1123,7 +1123,7 @@ static inline int ip6ip6_register(void)
 
 static inline int ip6ip6_unregister(void)
 {
-       return xfrm6_tunnel_unregister(&ip6ip6_handler);
+       return xfrm6_tunnel_deregister(&ip6ip6_handler);
 }
 #else
 static struct inet6_protocol xfrm6_tunnel_protocol = {

-- 
"Democracy can learn some things from Communism; for example,
   when a Communist politician is through, he is through."
                        -- Unknown
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to