Roman,

Having finally found the original mail,  I concur.
it looks like you have 'leaked' mutexes.
(and the witness code accesses all mutexes even after the driver has
unloaded... (*boom*))

I have not looked at the locks yet but you may be able to take advantage
of netgraph's inherrant locking and queueing
to simplify  your usage of mutexes in some cases.
(But I have to look at it more..)


On Wed, 17 Apr 2002, Maksim Yevmenkin wrote:

> Roman Kurakin wrote:
> 
> > #if __FreeBSD_version >= 500000
> >                 mtx_init (&d->queue.ifq_mtx, "cp_queue", MTX_DEF);
> >                 mtx_init (&d->hi_queue.ifq_mtx, "cp_queue_hi", MTX_DEF);
> > #endif
> 
> my guess would be that you forgot to call mtx_destroy() for
> queue and hi_queue mutexes.
> 
> thanks,
> max
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to