Re: [PATCH net v2 1/2] tcp: protect locked SO_RCVBUF from Silly Window Syndrome
From: Ankit Jain
Date: Tue May 05 2026 - 14:23:21 EST
Hi Eric,
Thanks for the review and suggestion.
> Testing tp->advmss is not doing what you want I think.
>
> A remote peer can send GRO packets with tiny segments, regardless of
> tp->advmss
>
> If GRO is what you are looking for, why not testing (skb->len > len) ?
I tested your suggested `skb->len > len` logic on our reproduction
setup. It works perfectly and the 504 timeouts are completely resolved.
Thanks,
Ankit