cvs commit: src/sys/netinet sctp.h sctp_auth.c sctp_constants.h
sctp_indata.c sctp_input.c sctp_output.c sctp_pcb.c sctp_pcb.h
sctp_peeloff.c sctp_structs.h sctp_sysctl.c sctp_timer.c
sctp_uio.h sctp_usrreq.c sctputil.c sctputil.h src/sys/netinet6 ...
Randall Stewart
rrs at FreeBSD.org
Mon May 28 11:17:24 UTC 2007
rrs 2007-05-28 11:17:24 UTC
FreeBSD src repository
Modified files:
sys/netinet sctp.h sctp_auth.c sctp_constants.h
sctp_indata.c sctp_input.c sctp_output.c
sctp_pcb.c sctp_pcb.h sctp_peeloff.c
sctp_structs.h sctp_sysctl.c sctp_timer.c
sctp_uio.h sctp_usrreq.c sctputil.c
sctputil.h
sys/netinet6 sctp6_usrreq.c
Log:
- fixed autclose to not allow setting on 1-2-1 model.
- bounded cookie-life to 1 second minimum in socket option set.
- Delayed_ack_time becomes delayed_ack per new socket api document.
- Improve port number selection, we now use low/high bounds and
no chance of a endless loop. Only one call to random per bind
as well.
- fixes so set_peer_primary pre-screens addresses to be
valid to this host.
- maxseg did not allow setting on an assoc basis. We needed
to thus track and use an association value instead of a inp value.
- Fixed ep get of HB status to report back properly.
- use settings flag to tell if assoc level hb is on off not
the timer.. since the timer may still run if unconf address
are present.
- check for crazy ENABLE/DISABLE conditions.
- set and get of pmtud (fixed path mtu) not always taking into account ovh.
- Getting PMTU info on stcb only needs to return PMTUD_ENABLED if
any net is doing PMTU discovery.
- Panic or warning fixed to not do so when a valid ip frag is
taking place.
- sndrcvinfo appearing in both inp and stcb was full size, instead
of the non-pad version. This saves about 92 bytes from each struct
by carefully converting to use the smaller version.
- one-2-one model get(maxseg) would always get ep value, never the
tcb's value.
- The delayed ack time could be under a tick, this fixes so
it bounds it to at least 1 tick for platforms whos tick
is more than a ms.
- Fragment interleave level set to wrong default value.
- Fragment interleave could not set level 0.
- Defered stream reset was broken due to a guard check and ntohl issue.
- Found two lock order reversals and fixed.
- Tighten up address checking, if the user gives an address the sa_len
had better be set properly.
- Get asoc by assoc-id would return a locked tcb when it was asked
not to if the tcb was in the restart hash.
- sysctl to dig down and get more association details
Reviewed by: gnn
Revision Changes Path
1.9 +5 -1 src/sys/netinet/sctp.h
1.12 +13 -0 src/sys/netinet/sctp_auth.c
1.17 +7 -2 src/sys/netinet/sctp_constants.h
1.25 +15 -18 src/sys/netinet/sctp_indata.c
1.28 +15 -19 src/sys/netinet/sctp_input.c
1.27 +41 -10 src/sys/netinet/sctp_output.c
1.30 +69 -84 src/sys/netinet/sctp_pcb.c
1.17 +5 -1 src/sys/netinet/sctp_pcb.h
1.10 +7 -2 src/sys/netinet/sctp_peeloff.c
1.17 +22 -12 src/sys/netinet/sctp_structs.h
1.7 +245 -83 src/sys/netinet/sctp_sysctl.c
1.17 +1 -1 src/sys/netinet/sctp_timer.c
1.19 +39 -38 src/sys/netinet/sctp_uio.h
1.28 +261 -75 src/sys/netinet/sctp_usrreq.c
1.32 +37 -9 src/sys/netinet/sctputil.c
1.20 +5 -3 src/sys/netinet/sctputil.h
1.23 +24 -2 src/sys/netinet6/sctp6_usrreq.c
More information about the cvs-src
mailing list