cvs commit: src/sys/dev/fxp if_fxp.c if_fxpvar.h
    Andrew Gallatin 
    gallatin at cs.duke.edu
       
    Tue Apr 29 13:54:28 PDT 2003
    
    
  
M. Warner Losh writes:
 > 
 > All that mtx_owned does is say 'does the current thread own this
 > lock'.  How does the DOS scenario relate to this?  In that case, the
 > current thread wouldn't own the lock (although another might) and
 > would eventually acquire it to do the tcpdump/ioctl.  I don't object
 > to checking suspend, but I'm curious as why you think that mtx_owned
 > might present a probelm.
 > 
Brain fart on my part.  Sorry.  That seems fine.
Drew
    
    
More information about the cvs-all
mailing list