From: Florian Westphal <fw at strlen.de>
To: mptcp at lists.01.org
Subject: [MPTCP] Re: [PATCH mptcp-next 0/3] mptcp: add fastclose option
Date: Thu, 26 Nov 2020 15:44:29 +0100 [thread overview]
Message-ID: <20201126144429.GF2730@breakpoint.cc> (raw)
In-Reply-To: 36da4a96-332b-5d17-54c8-1e37b730af59@tessares.net
[-- Attachment #1: Type: text/plain, Size: 1451 bytes --]
Matthieu Baerts <matthieu.baerts(a)tessares.net> wrote:
> On 25/11/2020 18:49, Florian Westphal wrote:
> > I plan to hold the MPTCP reset patches back for the time being until
> > netlink + mptcpd are aware of its existence.
>
> I certainly missed something here but are you here talking about MP_TCPRST
> support? Or still about the send of fast-close?
Oh, no, I jumped off the fastclose train here. This is only wrt. MP_TCPRST.
Another approach would be to add the *send side* for tcprst first,
perhaps it helps with tcpdump deciphering.
But for RX there is really no point when the kernel can't pass that
information along to a consumer such as mptcpd.
> If it is about fast-close, why netlink + mptcpd needs to be aware first?
> Could we eventually send fast-close when the userspace app (here using
> packetdrill format) does this:
>
> setsockopt(<fd>, SOL_SOCKET, SO_LINGER, {onoff=1, linger=0}, 8);
> close(<fd>);
>
> (if we accept this socket option)
> No rush of course, just in case these patches were already written :)
Yes, I think it might make sense to allow userspace to generate a
fastclose at will.
The last iteration I sent autogenerated a fastclose for the 'unread data
in socket queue when userspace called close' case, which is analogous to
what the linux TCP stack does when you close with unread data in the
local socket.
But I think extending it to linger makes sense as well.
next reply other threads:[~2020-11-26 14:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-26 14:44 Florian Westphal [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-11-26 14:57 [MPTCP] Re: [PATCH mptcp-next 0/3] mptcp: add fastclose option Matthieu Baerts
2020-11-26 14:35 Matthieu Baerts
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=20201126144429.GF2730@breakpoint.cc \
--to=unknown@example.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 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.