cvs commit: src/sys/netipx ipx_input.c ipx_pcb.c ipx_pcb.h
Robert Watson
rwatson at FreeBSD.org
Thu Mar 10 06:27:00 PST 2005
rwatson 2005-03-10 14:27:00 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
sys/netipx ipx_input.c ipx_pcb.c ipx_pcb.h
Log:
Merge ipx_input.c:1.44 ipx_pcb.c:1.42, ipx_pcb.h:1.23 from HEAD to
RELENG_5:
Introduce a global mutex, ipxpcb_list_mtx, to protect the global
IPX PCB lists. Add macros to initialize, destroy, lock, unlock,
and assert the mutex. Initialize the mutex when IPX is started.
Add per-IPX PCB mutexes, ipxp_mtx in struct ipxpcb, to protect
per-PCB IPX/SPX state. Add macros to initialize, destroy, lock,
unlock, and assert the mutex. Initialize the mutex when a new
PCB is allocated; destroy it when the PCB is free'd.
Approved by: re (kensmith)
Revision Changes Path
1.34.4.9 +3 -0 src/sys/netipx/ipx_input.c
1.28.2.13 +2 -0 src/sys/netipx/ipx_pcb.c
1.18.6.5 +18 -0 src/sys/netipx/ipx_pcb.h
More information about the cvs-src
mailing list