Re: IPv6 warnings

From: $B5HF#1QL@(
Date: Wed Jul 16 2003 - 06:07:28 EST


Hello.

In article <20030716113657.A24009@flint.arm.linux.org.uk> (at Wed, 16 Jul 2003 11:36:57 +0100), Russell King <rmk@arm.linux.org.uk> says:

> Linux version 2.6.0-test1 (src@tika) (gcc version 3.2.2 20030313
> (Red Hat Linux 3.2.2-10_rmk1)) #1280 Wed Jul 16 11:07:22 BST 2003
> CPU: StrongARM-1110 [6901b118] revision 8 (ARMv4)
>
> I'm running IPv6 the above, and I'm seeing the following messages.
> ipv6 was built as a module. Should I be worried?
>
> IPv6 v0.8 for NET4.0
> IPv6 over IPv4 tunneling driver
> Destroying alive neighbour c18c2a44
> [<c015bb84>] (dst_destroy+0x0/0x168) from [<bf00d024>] (ndisc_dst_gc+0x74/0xa4 [ipv6])

Please try this.

Index: linux-2.6/net/ipv6/route.c
===================================================================
RCS file: /home/cvs/linux-2.5/net/ipv6/route.c,v
retrieving revision 1.45
diff -u -r1.45 route.c
--- linux-2.6/net/ipv6/route.c 13 Jul 2003 06:12:30 -0000 1.45
+++ linux-2.6/net/ipv6/route.c 16 Jul 2003 09:44:39 -0000
@@ -567,6 +567,11 @@
         if (unlikely(rt == NULL))
                 goto out;
 
+ if (dev)
+ dev_hold(dev);
+ if (neigh)
+ neigh_hold(neigh);
+
         rt->rt6i_dev = dev;
         rt->rt6i_nexthop = neigh;
         rt->rt6i_expires = 0;

-- 
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:24 EST