Jeff Garzik <jgarzik@xxxxxxxxx> wrote:
>
> I login (same machine that used to have the "BUG: dst underflow"
> problems) and see
>
> [first one I can find in log]
> Badness in dst_release at include/net/dst.h:149
Thanks. This is what "dst underflow" looks like in the new kernels.
Unfortunately whatever caused this has already happened so we can
only guess about where the bug is.
Could you please apply this patch and see if the warning triggers
before the underflows start coming in? We already know that if it
does then it can cause underflows but I want to make sure that
this is what's causing your problems.
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
===== net/ipv6/addrconf.c 1.115 vs edited =====
--- 1.115/net/ipv6/addrconf.c 2004-10-26 14:11:35 +10:00
+++ edited/net/ipv6/addrconf.c 2004-11-09 22:44:35 +11:00
@@ -2989,6 +2989,7 @@
dst_hold(&ifp->rt->u.dst);
if (ip6_ins_rt(ifp->rt, NULL, NULL))
dst_release(&ifp->rt->u.dst);
+ WARN_ON(ifp->dead);
if (ifp->idev->cnf.forwarding)
addrconf_join_anycast(ifp);
break;
|