diff options
author | Michael Tuexen <tuexen@FreeBSD.org> | 2020-05-05 17:52:44 +0000 |
---|---|---|
committer | Michael Tuexen <tuexen@FreeBSD.org> | 2020-05-05 17:52:44 +0000 |
commit | d3c3d6f99c2a42698e6d81c0283805852c7004b9 (patch) | |
tree | 957d1d325ddc559c2de66b6cc97ea65fca649659 /sys/netinet/sctp_output.c | |
parent | f470cbb2d6f6cbc67137773356743ae5afacd827 (diff) | |
download | src-test2-d3c3d6f99c2a42698e6d81c0283805852c7004b9.tar.gz src-test2-d3c3d6f99c2a42698e6d81c0283805852c7004b9.zip |
Notes
Diffstat (limited to 'sys/netinet/sctp_output.c')
-rw-r--r-- | sys/netinet/sctp_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c index 822eea3472fd..c30ce79f5327 100644 --- a/sys/netinet/sctp_output.c +++ b/sys/netinet/sctp_output.c @@ -10713,7 +10713,7 @@ sctp_send_sack(struct sctp_tcb *stcb, int so_locked if (highest_tsn > asoc->mapping_array_base_tsn) { siz = (((highest_tsn - asoc->mapping_array_base_tsn) + 1) + 7) / 8; } else { - siz = (((MAX_TSN - highest_tsn) + 1) + highest_tsn + 7) / 8; + siz = (((MAX_TSN - asoc->mapping_array_base_tsn) + 1) + highest_tsn + 7) / 8; } } else { sack = NULL; |