aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorYafang Shao <[email protected]>2018-11-11 12:10:10 +0000
committerDavid S. Miller <[email protected]>2018-11-11 18:24:18 +0000
commit5e13a0d3f5c11df7eb297e6583cf874a79a00374 (patch)
tree6836047a30acd0c55c00e11d2814b427fadca5a5 /net/ipv4/tcp_output.c
parentMerge branch 'mv88e6xxx-Support-more-SERDES-interfacxes' (diff)
downloadkernel-5e13a0d3f5c11df7eb297e6583cf874a79a00374.tar.gz
kernel-5e13a0d3f5c11df7eb297e6583cf874a79a00374.zip
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 <[email protected]> Suggested-by: Eric Dumazet <[email protected]> Signed-off-by: Yafang Shao <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions