cvs commit: src/sys/net pfil.c pfil.h

Sepherosa Ziehau sephe at
Sun Sep 14 04:14:30 PDT 2008

sephe       2008/09/14 04:13:01 PDT

DragonFly src repository

  Modified files:
    sys/net              pfil.c pfil.h 
  Make pfil(4) MPSAFE using following way:
  - The pfil hook lists alteration is serialized by netisr0 (rev 1.10)
  - Duplicate the pfil hook lists to be altered.
  - Alter the pfil hook lists' duplication
  - Save the original pfil hook lists, install the altered pfil hook lists
  - Sync all network msgports to make sure that no one sees the original
    lists after this syncing
  - Free the original pfil hook lists
  Revision  Changes    Path
  1.11      +211 -71   src/sys/net/pfil.c
  1.8       +2 -2      src/sys/net/pfil.h

More information about the Commits mailing list