]> git.baikalelectronics.ru Git - kernel.git/commit
tcp_bbr: fix bbr pacing rate for internal pacing
authorEric Dumazet <edumazet@google.com>
Wed, 20 Jun 2018 20:07:35 +0000 (16:07 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Jun 2018 04:59:22 +0000 (13:59 +0900)
commit7e597acf42fce83982a12fc0702a65ca503013f7
tree1b40f040d84e576d231826bd19593918eb597d86
parent44fa06de0f865cc421746eacf82efae751d5b9bc
tcp_bbr: fix bbr pacing rate for internal pacing

This commit makes BBR use only the MSS (without any headers) to
calculate pacing rates when internal TCP-layer pacing is used.

This is necessary to achieve the correct pacing behavior in this case,
since tcp_internal_pacing() uses only the payload length to calculate
pacing delays.

Signed-off-by: Kevin Yang <yyd@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_bbr.c
net/ipv4/tcp_output.c