diff options
author | Yafang Shao <laoar.shao@gmail.com> | 2018-11-11 07:10:10 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-11 13:24:18 -0500 |
commit | 5e13a0d3f5c11df7eb297e6583cf874a79a00374 (patch) | |
tree | 6836047a30acd0c55c00e11d2814b427fadca5a5 /net/ipv4/tcp_output.c | |
parent | 0cf3a68a53829815db58461da1807728437c5de2 (diff) |
tcp: minor optimization in tcp ack fast path processing
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@perches.com>
Suggested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions