diff options
author | rrs <rrs@FreeBSD.org> | 2007-07-14 09:36:28 +0000 |
---|---|---|
committer | rrs <rrs@FreeBSD.org> | 2007-07-14 09:36:28 +0000 |
commit | 1e9af2c480a638933876e637c1f3b9f1b7bad3e9 (patch) | |
tree | 008308315d74a9df2eec618692844a82f1ace245 /sys/netinet6 | |
parent | 0948603d9eefb8b7f5898f99c8703b2e5b7f9647 (diff) | |
download | FreeBSD-src-1e9af2c480a638933876e637c1f3b9f1b7bad3e9.zip FreeBSD-src-1e9af2c480a638933876e637c1f3b9f1b7bad3e9.tar.gz |
- 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)
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/sctp6_usrreq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/sctp6_usrreq.c b/sys/netinet6/sctp6_usrreq.c index 0065244..9e93755 100644 --- a/sys/netinet6/sctp6_usrreq.c +++ b/sys/netinet6/sctp6_usrreq.c @@ -56,8 +56,8 @@ __FBSDID("$FreeBSD$"); #include <netipsec/ipsec.h> #if defined(INET6) #include <netipsec/ipsec6.h> -#endif /* INET6 */ -#endif /* IPSEC */ +#endif /* INET6 */ +#endif /* IPSEC */ extern struct protosw inetsw[]; @@ -210,7 +210,7 @@ sctp_skip_csum: ipsec6stat.in_polvio++; goto bad; } -#endif /* IPSEC */ +#endif /* IPSEC */ /* * CONTROL chunk processing |