From: Eric Dumazet
Date: Thu, 29 Nov 2018 07:56:20 -0800
> We can remove the loop and conditional branches
> and compute wscale efficiently thanks to ilog2()
>
> Signed-off-by: Eric Dumazet
Applied.
On Thu, Nov 29, 2018 at 10:56 AM Eric Dumazet wrote:
>
> We can remove the loop and conditional branches
> and compute wscale efficiently thanks to ilog2()
>
> Signed-off-by: Eric Dumazet
Acked-by: Soheil Hassas Yeganeh
Very nice, thank you, Eric!
> ---
> net/ipv4/tcp_output.c | 8 +++-
>
We can remove the loop and conditional branches
and compute wscale efficiently thanks to ilog2()
Signed-off-by: Eric Dumazet
---
net/ipv4/tcp_output.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index
3ae4a277991a3473