From: Florian Westphal <fw@strlen.de>
To: Paolo Abeni <pabeni@redhat.com>
Cc: Florian Westphal <fw@strlen.de>,
mptcp@lists.linux.dev,
Matthieu Baerts <matthieu.baerts@tessares.net>
Subject: Re: [mptcp-next 2/2] mptcp: re-set push-pending bit on retransmit failure
Date: Mon, 6 Sep 2021 09:55:31 +0200 [thread overview]
Message-ID: <20210906075531.GD23554@breakpoint.cc> (raw)
In-Reply-To: <aaefcedbe475b6bf060bbb4d6266233d57d59225.camel@redhat.com>
Paolo Abeni <pabeni@redhat.com> wrote:
> > + /* Set PENDING again in case we found an ssk
> > + * that could not accept more data
> > + */
> > + if (unlikely(copied == 0) &&
> > + READ_ONCE(msk->snd_una) == msk->snd_nxt && ssk)
> > + mptcp_check_and_set_pending(sk);
>
> @Florian: Why we need to check for ssk != NULL?
Because I don't think it makes sense to re-try ASAP if we could
not find a ssk, and instead defer until next firing of rtx timer.
> Do we need something similar for __mptcp_subflow_push_pending(), too?
I don't think so, its thats not invoked from the mptcp-release cb; also:
> I'm wondering if this will cause a sort of 'spinning'/busy loop on
> above condition inside mptcp_release_cb().
Hmm, right, that might indeed happen.
It should be sae to remove the above clause and unconditioally wait
for the reworked rtx timer to assert pending bit again.
next prev parent reply other threads:[~2021-09-06 7:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-06 6:06 [mptcp-next 0/2] Fix mptcp connection hangs after link failover Florian Westphal
2021-09-06 6:06 ` [mptcp-next 1/2] mptcp: remove tx_pending_data Florian Westphal
2021-09-06 7:13 ` Paolo Abeni
2021-09-06 6:06 ` [mptcp-next 2/2] mptcp: re-set push-pending bit on retransmit failure Florian Westphal
2021-09-06 7:43 ` Paolo Abeni
2021-09-06 7:55 ` Florian Westphal [this message]
2021-09-06 8:38 ` Paolo Abeni
2021-09-06 11:35 ` Florian Westphal
2021-09-06 13:14 ` Paolo Abeni
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=20210906075531.GD23554@breakpoint.cc \
--to=fw@strlen.de \
--cc=matthieu.baerts@tessares.net \
--cc=mptcp@lists.linux.dev \
--cc=pabeni@redhat.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.