From: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
To: linux-sctp@vger.kernel.org
Subject: Re: One question regarding the SCTP write buffer free mechanism
Date: Thu, 26 Mar 2020 19:29:09 +0000 [thread overview]
Message-ID: <20200326192909.GD3828@localhost.localdomain> (raw)
In-Reply-To: <9f7ef2f9a93b420c915a9e130356cdfa@nokia-sbell.com>
On Thu, Mar 26, 2020 at 05:22:46AM +0000, Mao, Jinhui (NSB - CN/Hangzhou) wrote:
...
> Error happened on Endpoint A when calling SCTP sendmsg to send more to Endpoint B, the error is "Resource temporarily unavailable". Association is not destroyed at this time.
> 1 second later RTO Timeout 2nd Re-trans DATA [TSN=7] ---------------> (Acked)
>
>
> So could you please help to comments on the following question?
> - Does this means that if an gap is found in the SACK, those packages sent after this lost packet will stay in the write buffer until the gap is filled? Even if they are successfully SACKed?
Yes and yes. Because the receiver is allowed to drop any data acked in
a gap block if it needs more memory to fill in the gap, and in this
case, the sender would have to retransmit it.
Seems you're using non-block sockets, otherwise that last sendmsg()
would have blocked waiting for the sndbuf space to be available, btw.
Cheers,
Marcelo
next prev parent reply other threads:[~2020-03-26 19:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-26 5:22 One question regarding the SCTP write buffer free mechanism Mao, Jinhui (NSB - CN/Hangzhou)
2020-03-26 19:29 ` Marcelo Ricardo Leitner [this message]
2020-03-27 4:57 ` Mao, Jinhui (NSB - CN/Hangzhou)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200326192909.GD3828@localhost.localdomain \
--to=marcelo.leitner@gmail.com \
--cc=linux-sctp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.