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: Martin Husemann <martin%duskware.de@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/49682: reproducable panic when detaching bge (IPv6 related)
Date: Mon, 23 Feb 2015 08:48:10 +0100
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] ?
Martin
Home |
Main Index |
Thread Index |
Old Index