From: Mat Martineau <mathew.j.martineau at linux.intel.com>
To: mptcp at lists.01.org
Subject: [MPTCP] Re: [RFC PATCH 0/2] mptcp: fix deadlock in mptcp{,6}_release
Date: Tue, 02 Mar 2021 17:56:40 -0800 [thread overview]
Message-ID: <b4c859e-ee94-8a8c-5ded-e9b7788f57f9@linux.intel.com> (raw)
In-Reply-To: cover.1614706783.git.pabeni@redhat.com
[-- Attachment #1: Type: text/plain, Size: 1469 bytes --]
On Tue, 2 Mar 2021, Paolo Abeni wrote:
> This address the issue the easy way: removing the bugged feature
> (mcast support :).
>
> AFAICS the mcast related sockopt manipulate a global state, so there
> could be existing working application doing setsockopt(mcast opt) on
> TCP sockets. This is why I did not disable mcast at the inet level
> for stream sockets.
>
> Still I'm wondering if we should take the opposite approach: explicitly
> forbitting all setsockopt except the one we implement in
> net/mptcp/protocol.c
>
I think there was mailing list discussion about having an allowed list of
SOL_TCP options, but I think applying that idea to the inet level slipped
by. It does seem better to only allow the options we implement.
(by the way: it's forbid/forbidding)
Mat
> Additionally this possibly overlap with wider task - a more
> comprehensive sockopt support. Ence the RFC tag.
>
> Side note: syzbot confirm this fixes issues/170
>
> Paolo Abeni (2):
> mptcp: forbit mcast-related sockopt on MPTCP sockets
> mptcp: revert "mptcp: provide subflow aware release function"$ ....$
>
> net/mptcp/protocol.c | 100 ++++++++++++++++++++-----------------------
> 1 file changed, 47 insertions(+), 53 deletions(-)
>
> --
> 2.26.2
> _______________________________________________
> mptcp mailing list -- mptcp(a)lists.01.org
> To unsubscribe send an email to mptcp-leave(a)lists.01.org
>
--
Mat Martineau
Intel
next reply other threads:[~2021-03-03 1:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-03 1:56 Mat Martineau [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-03-03 9:01 [MPTCP] Re: [RFC PATCH 0/2] mptcp: fix deadlock in mptcp{,6}_release 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=b4c859e-ee94-8a8c-5ded-e9b7788f57f9@linux.intel.com \
--to=mptcp@lists.linux.dev \
/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