Subject: Re: interface destruction issues with multicast membership
To: Greg Troxel <gdt@ir.bbn.com>
From: Matt Thomas <matt@3am-software.com>
List: tech-net
Date: 05/12/2005 13:56:00
Greg Troxel wrote:
> I took Matt's suggestion of PR_PURGEIF flag, and purged only those
> protocols.  A kernel with this change survives removing a card, and
> I'll get this installed on my troublesome ppp systems and see how they
> behave (the crash was not 100% reliable).
> 
> Patch is at:
> 
> http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=29580

My only nit is that if PR_PURGEIF is set, assume pr_usrreq is not NULL.
You could add an KASSERT to make certain of that in a DIAGNOSTIC kernel.


-- 
Matt Thomas                     email: matt@3am-software.com
3am Software Foundry              www: http://3am-software.com/bio/matt/
Cupertino, CA              disclaimer: I avow all knowledge of this message.