Current-Users archive

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

Re: "ro->_ro_rt ==NULL || ro->_ro_rt->rt_refcnt > 0" failed



On Wed, 2 Sep 2015, Ryota Ozaki wrote:

On Wed, Sep 2, 2015 at 5:45 PM, Ryota Ozaki <ozaki-r%netbsd.org@localhost> wrote:
Hi,

Thank you for rechecking.

I found you're right and I mess up. I've been using a kernel
with a different config from GENERIC, which is tuned for
KVM to reduce build time. So I'm now able to reproduce the
issue again with a latest GENERIC kernel. I've started
debugging really.

I found nd6_lookup is broken. Here is a patch to fix the issue:
http://www.netbsd.org/~ozaki-r/fix-ipv6-refcnt.diff
It works for me. I hope it works for you too.

The change looks big because it is based on my local change that
cleans up complicated nd6_lookup though, the point is to replace
rtfree with RTFREE_IF_NEEDED.

OK, I will go ahead a rebuild with this patch.

If it compiles cleanly, I should have results within the next 60 minutes or so...



-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index