On Thu, Dec 8, 2016 at 10:24 AM, Paolo Abeni <[email protected]> wrote:
> Nice one! This sounds like a relevant improvement!
>
> I'm wondering if it may cause regressions with small value of
> sk_rcvbuf ?!? e.g. with:
>
> netperf -t UDP_STREAM -H 127.0.0.1 -- -s 1280 -S 1280 -m 1024 -M 1024
>
Possibly, then simply we can refine the test to :
size = up->forward_deficit;
if (size < (sk->sk_rcvbuf >> 2) && !skb_queue_empty(sk->sk_receive_buf))
return;
