NetBSD-Bugs archive

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

Re: kern/51467 detaching USB network interface panics



The following reply was made to PR kern/51467; it has been noted by GNATS.

From: Ryota Ozaki <ozaki-r%netbsd.org@localhost>
To: Michael van Elst <mlelstv%serpens.de@localhost>
Cc: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%netbsd.org@localhost>, kern-bug-people%netbsd.org@localhost, 
	gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/51467 detaching USB network interface panics
Date: Mon, 28 Nov 2016 23:05:17 +0900

 On Mon, Nov 28, 2016 at 7:10 PM, Michael van Elst <mlelstv%serpens.de@localhost> wrote:
 > On Mon, Nov 28, 2016 at 06:12:58PM +0900, Ryota Ozaki wrote:
 >> On Sun, Nov 27, 2016 at 6:50 PM, Michael van Elst <mlelstv%serpens.de@localhost> wrote:
 >> >  nd6_purge() contains a hack:
 >> >
 >> >                          /*
 >> >                           * Because if_detach() does *not* release prefixes
 >> >                           * while purging addresses the reference count will
 >> >                           * still be above zero. We therefore reset it to
 >> >                           * make sure that the prefix really gets purged.
 >> >                           */
 >> >                          pr->ndpr_refcnt = 0;
 >
 > Do you think that hack is really necessary?
 
 Maybe not, but I'm not sure for now.
 
 I'll investigate it when I work on MP-ifying the default route list
 and the prefix list.
 
   ozaki-r
 


Home | Main Index | Thread Index | Old Index