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



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