cvs commit: src/lib/libc/net sctp_sys_calls.c src/sys/conf files
options src/sys/netinet sctp.h sctp_asconf.c sctp_cc_functions.c
sctp_cc_functions.h sctp_constants.h sctp_indata.c sctp_input.c
sctp_os.h sctp_output.c sctp_pcb.c sctp_pcb.h sctp_structs.h ...
Randall Stewart
rrs at FreeBSD.org
Sat Jul 14 09:36:29 UTC 2007
rrs 2007-07-14 09:36:28 UTC
FreeBSD src repository
Modified files:
lib/libc/net sctp_sys_calls.c
sys/conf files options
sys/netinet sctp.h sctp_asconf.c sctp_constants.h
sctp_indata.c sctp_input.c sctp_os.h
sctp_output.c sctp_pcb.c sctp_pcb.h
sctp_structs.h sctp_sysctl.c
sctp_sysctl.h sctp_timer.c sctp_timer.h
sctp_usrreq.c sctp_var.h sctputil.c
sys/netinet6 sctp6_usrreq.c
Added files:
sys/netinet sctp_cc_functions.c sctp_cc_functions.h
Log:
- Modular congestion control, with RFC2581 being the default.
- CMT_PF states added (w/sysctl to turn the PF version on)
- sctp_input.c had a missing incr of cookie case when the
auth was bad. This meant a free was called without an
increment to refcnt, added increment like rest of code.
- There was a case, unlikely, when the scope of the destination
changed (this is a TSNH case). In that case, it would not free
the alloc'ed asoc (in sctp_input.c).
- When listed addresses found a colliding cookie/Init, then
the collided upon tcb was not unlocked in sctp_pcb.c
- Add error checking on arguments of sctp_sendx(3) to prevent it from
referencing a NULL pointer.
- Fix an error return of sctp_sendx(3), it was returing
ENOMEM not -1.
- Get assoc id was changed to use the sanctified socket api
method for getting a assoc id (PEER_ADDR_INFO instead of
PEER_ADDR_PARAMS).
- Fix it so a peeled off socket will get a proper error return
if it trys to send to a different address then it is connected to.
- Fix so that select_a_stream can avoid an endless loop that
could hang a caller.
- time_entered (state set time) was not being set in all cases
to the time we went established.
Approved by: re(ken smith)
Revision Changes Path
1.13 +13 -7 src/lib/libc/net/sctp_sys_calls.c
1.1237 +1 -0 src/sys/conf/files
1.601 +0 -1 src/sys/conf/options
1.16 +12 -0 src/sys/netinet/sctp.h
1.20 +1 -1 src/sys/netinet/sctp_asconf.c
1.1 +1631 -0 src/sys/netinet/sctp_cc_functions.c (new)
1.1 +107 -0 src/sys/netinet/sctp_cc_functions.h (new)
1.23 +7 -0 src/sys/netinet/sctp_constants.h
1.37 +21 -469 src/sys/netinet/sctp_indata.c
1.50 +87 -149 src/sys/netinet/sctp_input.c
1.8 +0 -1 src/sys/netinet/sctp_os.h
1.45 +160 -41 src/sys/netinet/sctp_output.c
1.48 +18 -34 src/sys/netinet/sctp_pcb.c
1.24 +1 -3 src/sys/netinet/sctp_pcb.h
1.20 +81 -4 src/sys/netinet/sctp_structs.h
1.12 +11 -0 src/sys/netinet/sctp_sysctl.c
1.8 +27 -3 src/sys/netinet/sctp_sysctl.h
1.23 +208 -63 src/sys/netinet/sctp_timer.c
1.5 +1 -1 src/sys/netinet/sctp_timer.h
1.37 +129 -2 src/sys/netinet/sctp_usrreq.c
1.15 +31 -16 src/sys/netinet/sctp_var.h
1.51 +83 -2 src/sys/netinet/sctputil.c
1.33 +3 -3 src/sys/netinet6/sctp6_usrreq.c
More information about the cvs-src
mailing list