diff options
| author | Jon Grimm <jgrimm@touki.austin.ibm.com> | 2003-02-18 06:22:04 -0600 |
|---|---|---|
| committer | Jon Grimm <jgrimm@touki.austin.ibm.com> | 2003-02-18 06:22:04 -0600 |
| commit | a276e83e290b51f45fc38206fec7921f9b9fd255 (patch) | |
| tree | a02f2d969d1895d09e98a39a8c40cfcc7529953f /net/sctp/associola.c | |
| parent | 8ae0801a1bdfa3d720c623da0f49e368113efd31 (diff) | |
[SCTP] Renege to make room for CTSN+1 chunk.
If our receive buffer is full, but this is the most important TSN
to receive, make room by reneging less important TSNs. Only renege
if there is a gap and this is the next TSN to fit in the gap.
Diffstat (limited to 'net/sctp/associola.c')
| -rw-r--r-- | net/sctp/associola.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/associola.c b/net/sctp/associola.c index f8f9ed0138bd..1a54354f0153 100644 --- a/net/sctp/associola.c +++ b/net/sctp/associola.c @@ -1004,8 +1004,8 @@ void sctp_assoc_rwnd_increase(sctp_association_t *asoc, int len) ((asoc->rwnd - asoc->a_rwnd) >= min_t(__u32, (asoc->base.sk->rcvbuf >> 1), asoc->pmtu))) { SCTP_DEBUG_PRINTK("%s: Sending window update SACK- asoc: %p " - "rwnd: %u a_rwnd: %u\n", - __FUNCTION__, asoc, asoc->rwnd, asoc->a_rwnd); + "rwnd: %u a_rwnd: %u\n", __FUNCTION__, + asoc, asoc->rwnd, asoc->a_rwnd); sack = sctp_make_sack(asoc); if (!sack) return; |
