cvs commit: src/sys/netinet sctp_asconf.c sctp_lock_bsd.h
sctp_os_bsd.h sctp_output.c sctp_pcb.c sctp_pcb.h sctp_uio.h
sctp_usrreq.c sctputil.c
Randall Stewart
rrs at FreeBSD.org
Tue Sep 18 08:16:39 PDT 2007
rrs 2007-09-18 15:16:39 UTC
FreeBSD src repository
Modified files:
sys/netinet sctp_asconf.c sctp_lock_bsd.h
sctp_os_bsd.h sctp_output.c sctp_pcb.c
sctp_pcb.h sctp_uio.h sctp_usrreq.c
sctputil.c
Log:
- The address lock is changed to a rwlock. This
also involves macro changes to have a RLOCK and a WLOCK
and placing the correct version within the code.
- The INP-INFO lock is changed to a rwlock.
- When sctp_shutdown() is called on Mac OS X, the socket lock is held.
So call sctp_chunk_output with SCTP_SO_LOCKED and
not SCTP_SO_NOT_LOCKED.
- Add SCTP_IPI_ADDR_[RW]LOCK and SCTP_IPI_ADDR_[RW]UNLOCK for Mac OS X.
- u_int64_t -> uint64_t
- add missing addr unlock for error return path
Approved by: re at freebsd.org (K Smith)
Revision Changes Path
1.33 +10 -13 src/sys/netinet/sctp_asconf.c
1.10 +30 -11 src/sys/netinet/sctp_lock_bsd.h
1.33 +2 -0 src/sys/netinet/sctp_os_bsd.h
1.57 +6 -6 src/sys/netinet/sctp_output.c
1.59 +19 -19 src/sys/netinet/sctp_pcb.c
1.31 +2 -2 src/sys/netinet/sctp_pcb.h
1.29 +1 -1 src/sys/netinet/sctp_uio.h
1.47 +5 -5 src/sys/netinet/sctp_usrreq.c
1.62 +12 -12 src/sys/netinet/sctputil.c
More information about the cvs-src
mailing list