diff --git a/net/mptcp/protocol.c b/net/mptcp/protocol.c index 1b2e7cbb577f..06731cfed374 100644 --- a/net/mptcp/protocol.c +++ b/net/mptcp/protocol.c @@ -1022,8 +1022,14 @@ static void __mptcp_clean_una(struct sock *sk) if (unlikely(dfrag == msk->first_pending)) { /* in recovery mode can see ack after the current snd head */ - if (WARN_ON_ONCE(!msk->recovery)) + if (!msk->recovery) { + pr_err("snd_una %llx snd_nxt %llx write_seq %llx idsn %llx dfrag seq %llx len %d\n", + snd_una, msk->snd_nxt, msk->write_seq, + mptcp_subflow_ctx(msk->first)->idsn, + dfrag->data_seq, dfrag->data_len); + WARN_ON(1); break; + } WRITE_ONCE(msk->first_pending, mptcp_send_next(sk)); }