Re: [PATCH] tcp: check socket state before calling WARN_ON

From: Youngmin Nam
Date: Fri Jan 17 2025 - 00:05:17 EST


> Thanks for all the details! If the ramdump becomes available again at
> some point, would it be possible to pull out the following values as
> well:
>
> tp->mss_cache
> inet_csk(sk)->icsk_pmtu_cookie
> inet_csk(sk)->icsk_ca_state
>
> Thanks,
> neal
>

Hi Neal. Happy new year.

We are currently trying to capture a tcpdump during the problem situation
to construct the Packetdrill script. However, this issue does not occur very often.

By the way, we have a full ramdump, so we can provide the information you requested.

tp->packets_out = 0
tp->sacked_out = 0
tp->lost_out = 4
tp->retrans_out = 1
tcp_is_sack(tp) = 1
tp->mss_cache = 1428
inet_csk(sk)->icsk_ca_state = 4
inet_csk(sk)->icsk_pmtu_cookie = 1500

If you need any specific information from the ramdump, please let me know.

Thanks.