diff options
author | rrs <rrs@FreeBSD.org> | 2009-03-14 13:42:13 +0000 |
---|---|---|
committer | rrs <rrs@FreeBSD.org> | 2009-03-14 13:42:13 +0000 |
commit | f25b21ac98dbffc3d1acd140518821747cfa758e (patch) | |
tree | 17dfefc898960aceecf005749d75a25787d70736 /sys/netinet/sctputil.h | |
parent | 7cd47702cc3b729fa8002cb2c9c16a4d908c7636 (diff) | |
download | FreeBSD-src-f25b21ac98dbffc3d1acd140518821747cfa758e.zip FreeBSD-src-f25b21ac98dbffc3d1acd140518821747cfa758e.tar.gz |
Fixes several PR-SCTP releated bugs.
- When sending large PR-SCTP messages over a
lossy link we would incorrectly calculate the fwd-tsn
- When receiving large multipart pr-sctp packets we would
incorrectly send back a SACK that would renege improperly
on already received packets thus causing unneeded retransmissions.
Diffstat (limited to 'sys/netinet/sctputil.h')
-rw-r--r-- | sys/netinet/sctputil.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/sctputil.h b/sys/netinet/sctputil.h index 56c6729..c5a2ad9 100644 --- a/sys/netinet/sctputil.h +++ b/sys/netinet/sctputil.h @@ -237,7 +237,7 @@ sctp_notify_partial_delivery_indication(struct sctp_tcb *stcb, int sctp_release_pr_sctp_chunk(struct sctp_tcb *, struct sctp_tmit_chunk *, - int, struct sctpchunk_listhead *, int + int, int #if !defined(__APPLE__) && !defined(SCTP_SO_LOCK_TESTING) SCTP_UNUSED #endif @@ -287,7 +287,6 @@ do { \ #define sctp_free_spbufspace(stcb, asoc, sp) \ do { \ if (sp->data != NULL) { \ - atomic_subtract_int(&(asoc)->chunks_on_out_queue, 1); \ if ((asoc)->total_output_queue_size >= sp->length) { \ atomic_subtract_int(&(asoc)->total_output_queue_size, sp->length); \ } else { \ |