diff options
author | Michael Tuexen <tuexen@FreeBSD.org> | 2015-12-06 16:17:57 +0000 |
---|---|---|
committer | Michael Tuexen <tuexen@FreeBSD.org> | 2015-12-06 16:17:57 +0000 |
commit | c979034b18da66c6f65818748754d5fbe2901707 (patch) | |
tree | a643c8a1cec57c56f0ee5a56f08a51cba38a5191 /sys/netinet/sctp_pcb.h | |
parent | d253cfe3b20c8540826d57e24fcc6afcbdc0429d (diff) |
Fix the allocation of outgoing streams:
* When processing a cookie, use the number of
streams announced in the INIT-ACK.
* When sending an INIT-ACK for an existing
association, use the value from the association,
not from the end-point.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=291904
Diffstat (limited to 'sys/netinet/sctp_pcb.h')
-rw-r--r-- | sys/netinet/sctp_pcb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_pcb.h b/sys/netinet/sctp_pcb.h index f5ede2accca5..ff6ccc56c59a 100644 --- a/sys/netinet/sctp_pcb.h +++ b/sys/netinet/sctp_pcb.h @@ -584,7 +584,7 @@ void sctp_inpcb_free(struct sctp_inpcb *, int, int); struct sctp_tcb * sctp_aloc_assoc(struct sctp_inpcb *, struct sockaddr *, - int *, uint32_t, uint32_t, struct thread *); + int *, uint32_t, uint32_t, uint16_t, struct thread *); int sctp_free_assoc(struct sctp_inpcb *, struct sctp_tcb *, int, int); |