K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-12T13:38:35.000000Z K 7 svn:log V 437 MFC 1.31: When a carp(4) interface is being destroyed and is in a promiscous mode, first interface is detached from parent and then bpfdetach() is called. If the interface was the last carp(4) interface attached to parent, then the mutex on parent is destroyed. When bpfdetach() calls if_setflags() we panic on destroyed mutex. To prevent the above scenario, clear pointer to parent, when we detach ourselves from parent. END