Closed cpaasch closed 1 year ago
FYI: Suggested fix from #354 resolves the issue.
FYI: bisected to 7d803344fdc3 - which is in v6.2-rc3
Just not to be confused, here is the fix for #355 from Paolo:
diff --git a/net/mptcp/subflow.c b/net/mptcp/subflow.c
index 8b46311b8d5e..8d4c6e75c6a3 100644
--- a/net/mptcp/subflow.c
+++ b/net/mptcp/subflow.c
@@ -1437,6 +1437,9 @@ static void subflow_error_report(struct sock *ssk)
{
struct sock *sk = mptcp_subflow_ctx(ssk)->conn;
+ if (!sk->sk_socket)
+ return;
+
mptcp_data_lock(sk);
if (!sock_owned_by_user(sk))
__mptcp_error_report(sk);
Head: 0150d5be08
Trace:
Reproducer:
Kconfig: Kconfig_k5_lockdep.txt
C-repro: repro_subflow_error_report.c.txt