cvs commit: src/sys/net pfil.c pfil.h
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
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
Log:
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
http://www.dragonflybsd.org/cvsweb/src/sys/net/pfil.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/pfil.h.diff?r1=1.7&r2=1.8&f=u
More information about the Commits
mailing list