Re: IPv6 warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux