diff options
author | tuexen <tuexen@FreeBSD.org> | 2012-11-16 19:39:10 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2012-11-16 19:39:10 +0000 |
commit | 17aa08aca946bad5c41e3efa6f9fc217d14e9aaf (patch) | |
tree | 8c129fc862e4d6084ffdb806db71ff0ea9cad9f3 /sys/netinet/sctp_input.c | |
parent | f2c2ff1baf52aee84f7261dd1c3b8687b02c1a66 (diff) | |
download | FreeBSD-src-17aa08aca946bad5c41e3efa6f9fc217d14e9aaf.zip FreeBSD-src-17aa08aca946bad5c41e3efa6f9fc217d14e9aaf.tar.gz |
Get the accounting working. We now have counters how many
chunks for each SCTP outgoing stream are in the send and
sent queue.
While there, improve the naming of NR-SACK related constants
recently introduced.
MFC after: 1 week
Diffstat (limited to 'sys/netinet/sctp_input.c')
-rw-r--r-- | sys/netinet/sctp_input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/sctp_input.c b/sys/netinet/sctp_input.c index d1a0ef6..eb4be56 100644 --- a/sys/netinet/sctp_input.c +++ b/sys/netinet/sctp_input.c @@ -1948,6 +1948,7 @@ sctp_process_cookie_existing(struct mbuf *m, int iphlen, int offset, sctp_report_all_outbound(stcb, 0, 1, SCTP_SO_NOT_LOCKED); for (i = 0; i < stcb->asoc.streamoutcnt; i++) { + stcb->asoc.strmout[i].chunks_on_queues = 0; stcb->asoc.strmout[i].stream_no = i; stcb->asoc.strmout[i].next_sequence_send = 0; stcb->asoc.strmout[i].last_msg_incomplete = 0; |