On 04/12/2020 12:37, Paolo Abeni wrote:
When a MPTCP listener socket is closed with unaccepted
children pending, the ULP release callback will be invoked,
but nobody will call into __mptcp_close_ssk() on the
As a consequence, at ULP release time, the 'disposable' flag
will be cleared and the subflow context memory will be leaked.
This change addresses the issue always freeing the context if
the subflow is still in the accept queue at ULP release time.
Additionally, this fixes an incorrect code reference in the
Note: this fix leverages the changes introduced by the previous
Fixes: e16163b6e2b7 ("mptcp: refactor shutdown and close")
Signed-off-by: Paolo Abeni <pabeni(a)redhat.com>
Thank you for this patch!
- b89ebad43317: mptcp: plug subflow context memory leak
- Results: 3df24f8e9d36..7ca534d9bde5
Tests + export are in progress!
Tessares | Belgium | Hybrid Access Solutions