cvs commit: src/sys/contrib/pf/net if_pfsync.c if_pfsync.h

Max Laier mlaier at FreeBSD.org
Fri Jun 10 17:23:50 GMT 2005


mlaier      2005-06-10 17:23:49 UTC

  FreeBSD src repository

  Modified files:
    sys/contrib/pf/net   if_pfsync.c if_pfsync.h 
  Log:
  Defer ip_output of pfsync updates to an independent callout thread instead
  of just dropping the lock around the ip_output call.  This used to cause
  corrupted state tree walks for some call-paths.
  
  In a second stage all callouts will be marked MPSAFE according to the
  setting of mpsafenet.
  
  Reported and tested by: Matthew Grooms <mgrooms at seton dot org>
  MFC after:              3 days
  X-MFC after:            Marking callouts MPSAFE + 1 week
  
  Revision  Changes    Path
  1.17      +26 -7     src/sys/contrib/pf/net/if_pfsync.c
  1.7       +4 -0      src/sys/contrib/pf/net/if_pfsync.h


More information about the cvs-src mailing list