diff options
author | rrs <rrs@FreeBSD.org> | 2007-03-20 10:23:11 +0000 |
---|---|---|
committer | rrs <rrs@FreeBSD.org> | 2007-03-20 10:23:11 +0000 |
commit | eecb0a8aa72ff92a9cc4881892c8fa117737ad7f (patch) | |
tree | c1ac41de5e74c6da148fd963903611df770236c1 /sys/netinet/sctp_pcb.c | |
parent | e588f34e9ccbae45abec18203973bfaeb542187d (diff) | |
download | FreeBSD-src-eecb0a8aa72ff92a9cc4881892c8fa117737ad7f.zip FreeBSD-src-eecb0a8aa72ff92a9cc4881892c8fa117737ad7f.tar.gz |
- window update sacks sent incorrectly after
shutdown which caused extra abort from peer.
- RTT time calculation was not being done in
express sack handling since it refered to an unused
variable (rto_pending). Removed variable.
- socket buffer high water access macro-ized.
Diffstat (limited to 'sys/netinet/sctp_pcb.c')
-rw-r--r-- | sys/netinet/sctp_pcb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c index 26e0d59..b2197e3 100644 --- a/sys/netinet/sctp_pcb.c +++ b/sys/netinet/sctp_pcb.c @@ -1636,7 +1636,7 @@ sctp_inpcb_alloc(struct socket *so) inp->sctp_socket = so; inp->ip_inp.inp.inp_socket = so; - inp->partial_delivery_point = so->so_rcv.sb_hiwat >> SCTP_PARTIAL_DELIVERY_SHIFT; + inp->partial_delivery_point = SCTP_SB_LIMIT_RCV(so) >> SCTP_PARTIAL_DELIVERY_SHIFT; inp->sctp_frag_point = SCTP_DEFAULT_MAXSEGMENT; #ifdef IPSEC |