On Wed, 2 Sep 2015, Ryota Ozaki wrote:
On Wed, Sep 2, 2015 at 5:45 PM, Ryota Ozaki <ozak...@netbsd.org> 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.
This seems to work for me, too!
(I still have other routing issues with my vpn tunnel, but at least the
machine no longer crashes.)
-------------------------------------------------------------------------
| 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 |
-------------------------------------------------------------------------