cvs commit: src/lib/libc/net sctp_sys_calls.c src/sys/netinet
sctp_asconf.c sctp_asconf.h sctp_input.c sctp_output.c sctp_pcb.c
sctp_pcb.h sctp_structs.h sctp_timer.c sctp_usrreq.c sctputil.c
sctputil.h src/sys/netinet6 sctp6_usrreq.c
Randall Stewart
rrs at FreeBSD.org
Tue Jul 24 20:06:03 UTC 2007
rrs 2007-07-24 20:06:02 UTC
FreeBSD src repository
Modified files:
lib/libc/net sctp_sys_calls.c
sys/netinet sctp_asconf.c sctp_asconf.h sctp_input.c
sctp_output.c sctp_pcb.c sctp_pcb.h
sctp_structs.h sctp_timer.c sctp_usrreq.c
sctputil.c sctputil.h
sys/netinet6 sctp6_usrreq.c
Log:
- take out a needless panic under invariants for sctp_output.c
- Fix addrs's error checking of sctp_sendx(3) when addrcnt is less than
SCTP_SMALL_IOVEC_SIZE
- re-add back inpcb_bind local address check bypass capability
- Fix it so sctp_opt_info is independant of assoc_id postion.
- Fix cookie life set to use MSEC_TO_TICKS() macro.
- asconf changes
o More comment changes/clarifications related to the old local address
"not" list which is now an explicit restricted list.
o Rename some functions for clarity:
- sctp_add/del_local_addr_assoc to xxx_local_addr_restricted()
- asconf related iterator functions to sctp_asconf_iterator_xxx()
o Fix bug when the same address is deleted and added (and removed from
the asconf queue) where the ifa is "freed" twice refcount wise,
possibly freeing it completely.
o Fix bug in output where the first ASCONF would not go out after the
last address is changed (e.g. only goes out when retransmitted).
o Fix bug where multiple ASCONFs can be bundled in the same packet with
the and with the same serial numbers.
o Fix asconf stcb iterator to not send ASCONF until after all work
queue entries have been processed.
o Change behavior so that when the last address is deleted (auto asconf
on a bound all endpoint) no action is taken until an address is
added; at that time, an ASCONF add+delete is sent (if the assoc
is still up).
o Fix local address counting so that address scoping is taken into
account.
o #ifdef SCTP_TIMER_BASED_ASCONF the old timer triggered sending
of ASCONF (after an RTO). The default now is to send
ASCONF immediately (except for the case of changing/deleting the
last usable address).
Approved by: re(ken smith)@freebsd.org
Revision Changes Path
1.14 +107 -6 src/lib/libc/net/sctp_sys_calls.c
1.23 +203 -99 src/sys/netinet/sctp_asconf.c
1.7 +8 -4 src/sys/netinet/sctp_asconf.h
1.53 +7 -2 src/sys/netinet/sctp_input.c
1.48 +62 -50 src/sys/netinet/sctp_output.c
1.51 +20 -10 src/sys/netinet/sctp_pcb.c
1.27 +3 -4 src/sys/netinet/sctp_pcb.h
1.22 +12 -13 src/sys/netinet/sctp_structs.h
1.25 +13 -15 src/sys/netinet/sctp_timer.c
1.40 +5 -6 src/sys/netinet/sctp_usrreq.c
1.53 +120 -10 src/sys/netinet/sctputil.c
1.26 +2 -0 src/sys/netinet/sctputil.h
1.36 +2 -2 src/sys/netinet6/sctp6_usrreq.c
More information about the cvs-all
mailing list