From: Paolo Abeni <pab...@redhat.com> Date: Fri, 7 Aug 2020 19:03:53 +0200
> With commit b93df08ccda3 ("mptcp: explicitly track the fully > established status"), the status of unaccepted mptcp closed in > mptcp_sock_destruct() changes from TCP_SYN_RECV to TCP_ESTABLISHED. > > As a result mptcp_sock_destruct() does not perform the proper > cleanup and inet_sock_destruct() will later emit a warn. > > Address the issue updating the condition tested in mptcp_sock_destruct(). > Also update the related comment. > > Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/66 > Reported-and-tested-by: Christoph Paasch <cpaa...@apple.com> > Fixes: b93df08ccda3 ("mptcp: explicitly track the fully established status") > Signed-off-by: Paolo Abeni <pab...@redhat.com> Also applied, thank you.