Re: [PATCH net v2 1/2] tcp: protect locked SO_RCVBUF from Silly Window Syndrome

Ankit Jain
2026-05-05T18:23:03Z

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