NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/49682: reproducable panic when detaching bge (IPv6 related)
The following reply was made to PR kern/49682; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: Martin Husemann <martin%duskware.de@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/49682: reproducable panic when detaching bge (IPv6 related)
Date: Mon, 23 Feb 2015 08:12:00 -0500
On Feb 23, 8:48am, martin%duskware.de@localhost (Martin Husemann) wrote:
-- Subject: Re: kern/49682: reproducable panic when detaching bge (IPv6 relat
| On Sun, Feb 22, 2015 at 04:14:50PM -0500, Christos Zoulas wrote:
| > | + if (ifp->if_afdata[AF_INET6] != NULL)
| > | + nd6_purge(ifp, ifp->if_afdata[AF_INET6]);
| >
| > Why don't you do nd6_purge(ifp, NULL); here.
|
| Could do that, but isn't it kinda pointless after explicitly testing
| ifp->if_afdata[AF_INET6] ?
Remove the test too... What I am trying to do is abstract out the if_afdata
access.
christos
Home |
Main Index |
Thread Index |
Old Index