Re: [PATCH net-next v2] tcp: minor optimization in tcp ack fast path processing

From: David Miller
Date: Sun Nov 11 2018 - 13:26:34 EST


From: Yafang Shao <laoar.shao@xxxxxxxxx>
Date: Sun, 11 Nov 2018 20:10:10 +0800

> Bitwise operation is a little faster.
> So I replace after() with using the flag FLAG_SND_UNA_ADVANCED as it is
> already set before.
>
> In addtion, there's another similar improvement in tcp_cwnd_reduction().
>
> Cc: Joe Perches <joe@xxxxxxxxxxx>
> Suggested-by: Eric Dumazet <edumazet@xxxxxxxxxx>
> Signed-off-by: Yafang Shao <laoar.shao@xxxxxxxxx>

Applied.