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 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