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: Michael van Elst <mlelstv%serpens.de@localhost>
To: Ryota Ozaki <ozaki-r%netbsd.org@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 11:10:47 +0100

 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?
 
 
 
 Greetings,
 -- 
                                 Michael van Elst
 Internet: mlelstv%serpens.de@localhost
                                 "A potential Snark may lurk in every tree."
 


Home | Main Index | Thread Index | Old Index