diff options
author | Eric Dumazet <edumazet@google.com> | 2018-11-24 09:12:24 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-24 17:41:37 -0800 |
commit | 9efdda4e3abed13f0903b7b6e4d4c2102019440a (patch) | |
tree | a65b654f1c7453e5554619e9501670319c8085c8 /net/ipv4/ip_output.c | |
parent | d146194f31c96f9b260c5a1cf1592d2e7f82a2e2 (diff) | |
download | linux-9efdda4e3abed13f0903b7b6e4d4c2102019440a.tar.gz linux-9efdda4e3abed13f0903b7b6e4d4c2102019440a.tar.bz2 linux-9efdda4e3abed13f0903b7b6e4d4c2102019440a.zip |
tcp: address problems caused by EDT misshaps
When a qdisc setup including pacing FQ is dismantled and recreated,
some TCP packets are sent earlier than instructed by TCP stack.
TCP can be fooled when ACK comes back, because the following
operation can return a negative value.
tcp_time_stamp(tp) - tp->rx_opt.rcv_tsecr;
Some paths in TCP stack were not dealing properly with this,
this patch addresses four of them.
Fixes: ab408b6dc744 ("tcp: switch tcp and sch_fq to new earliest departure time model")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_output.c')
0 files changed, 0 insertions, 0 deletions