Re: [BUG] mptcp: pm: WARNING in mptcp_check_listen_stop() when listen fails on a new endpoint listener

From: Matthieu Baerts

Date: Wed Nov 25 2026 - 04:15:27 EST


Hi Kyuwon,

On 18/11/2026 19:31, Kyuwon Cho wrote:
> Hi Matt,
>
> On 18/11/2026 19:18, Matthieu Baerts wrote:
>> Please always decode stacktraces with ./scripts/decode_stacktrace.sh.
>
> I'll keep that in mind and decode them in my next reports.
>
>> Out of curiosity: if your LLM has already analysed the root cause and
>> has a reproducer, why not ask to generate a fix and send this patch
>> instead of the bug report?
>
> I'm more used to communities like LLVM, which are cautious about
> LLM-generated patches, and I was hesitant to send a fix for code I
> don't know well, made in a way I couldn't fully judge. So I only sent
> the root cause analysis. Thanks for explaining; I'll send a tested
> patch with later reports when I can.

Thanks!

> For this one we do have a small candidate fix, tested with the
> reproducer: it puts the MPTCP socket back to TCP_CLOSE when
> __inet_listen_sk() fails. Since you already have a fix for v2, would it
> still help if we posted it, or should we leave it to your series?

In the meantime, I guess you saw the patch I sent to the MPTCP ML:


https://lore.kernel.org/20261121-mptcp-cmason-fixes-v2-36-00327fd1de1f@xxxxxxxxxx

If the fix was different and your reproducer still see the WARN with the
patch I sent, feel free to share yours.

Cheers,
Matt
--
Sponsored by the NGI0 Core fund.