Re: [PATCH net v3 3/3] selftests: net: packetdrill: test RTO fallback after partial undo

From: Neal Cardwell

Date: Fri Oct 09 2026 - 13:26:35 EST


From: Neal Cardwell <ncardwell@xxxxxxxxxx>

On Fri, Oct 9, 2026 at 1:47#AM Eric Dumazet <edumazet@xxxxxxxxxx> wrote:

> Let me come back to tp->tsorted_lost_queue [1]. I was too terse there
> ("often") and it did not get discussed.

Thanks, Eric. Given that you are OK with the space overhead for a new
tp->tsorted_lost_queue field, I think it would be quite nice to use your
suggested approach, since it should give us better loss recovery behavior.

FWIW, I asked an LLM to code up your idea, and below is what it came up with,
in case that is useful for discussion or using. It also proposed 2 packetdrill
tests (one that claims "This is the case that Eric suggested for segments with
TCPCB_EVER_RETRANS."), which I can post if there is interest.

---