cvs commit: src/sys/netgraph ng_base.c
    Gleb Smirnoff 
    glebius at FreeBSD.org
       
    Thu Nov  4 13:30:19 PST 2004
    
    
  
glebius     2004-11-04 21:30:18 UTC
  FreeBSD src repository
  Modified files:
    sys/netgraph         ng_base.c 
  Log:
  Partically backout previous commit. Since _callout_stop_safe() clears
  out c->c_func, we can't take it after callout_stop(). To take it before
  we need to acquire callout_lock, to avoid race. This commit narrows
  down area where lock is held, but hack is still present.
  
  This should be redesigned.
  
  Approved by:    julian (mentor)
  
  Revision  Changes    Path
  1.86      +7 -2      src/sys/netgraph/ng_base.c
    
    
More information about the cvs-all
mailing list