From: Jason Baron <jbaron@akamai.com>
To: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
Cc: Rick Jones <rick.jones2@hpe.com>, <linux-kernel@vger.kernel.org>,
<netdev@vger.kernel.org>, <davem@davemloft.net>,
<eric.dumazet@gmail.com>
Subject: Re: strange Mac OSX RST behavior
Date: Fri, 22 Jul 2016 17:08:27 -0400 [thread overview]
Message-ID: <d2aefee2-b11d-b93e-d3ad-6b4202bc7852@akamai.com> (raw)
In-Reply-To: <20160701191609.1fc1c045@lxorguk.ukuu.org.uk>
Hi,
After looking at this further we found that there is actually
a rate limit on 'rst' packets sent by OSX on a closed socket.
Its set to 250 per second and controlled via:
net.inet.icmp.icmplim. Increasing that limit resolves the
issue, but the default is apparently 250.
Thanks,
-Jason
On 07/01/2016 02:16 PM, One Thousand Gnomes wrote:
>> yes, we do in fact see a POLLRDHUP from the FIN in this case and
>> read of zero, but we still have more data to write to the socket, and
>> b/c the RST is dropped here, the socket stays in TIME_WAIT until
>> things eventually time out...
> After the FIN when you send/retransmit your next segment do you then get
> a valid RST back from the Mac end?
>
> Alan
prev parent reply other threads:[~2016-07-22 21:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-01 15:10 Jason Baron
2016-07-01 16:04 ` One Thousand Gnomes
2016-07-01 17:08 ` Rick Jones
2016-07-01 17:19 ` Jason Baron
2016-07-01 18:16 ` One Thousand Gnomes
2016-07-01 18:26 ` Jason Baron
2016-07-22 21:08 ` Jason Baron [this message]
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=d2aefee2-b11d-b93e-d3ad-6b4202bc7852@akamai.com \
--to=jbaron@akamai.com \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=gnomes@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=rick.jones2@hpe.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®