On 24/02/2021 16:58, Paolo Abeni wrote:
__mptcp_clean_una() can free write memory and should wake-up
user-space processes when needed.
When such function is invoked by the MPTCP receive path, the wakeup
is not needed, as the TCP stack will later trigger subflow_write_space
which will do the wakeup as needed.
Other __mptcp_clean_una() call sites need an additional wakeup check
Let's bundle the relevant code in a new helper and use it.
Thank you for the patch!
After a few iterations of mptcp_join.sh with only the test #11 ("signal
addresses" - after having modified mptcp_join.sh to do only that),
everything seems good, thanks for the fix! :-)
Tested-by: Matthieu Baerts <matthieu.baerts(a)tessares.net>
Tessares | Belgium | Hybrid Access Solutions