diff options
author | Eric Dumazet <edumazet@google.com> | 2017-10-26 21:21:40 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-28 19:08:04 +0900 |
commit | ee1836aec4f5a977c1699a311db4d9027ef21ac8 (patch) | |
tree | 9e8261b2d52181178fba19ae314221e4235cc062 /drivers/net/tap.c | |
parent | 63b9ab65bd76e5de6479bb14b4014b64aa1a317a (diff) | |
download | linux-ee1836aec4f5a977c1699a311db4d9027ef21ac8.tar.gz linux-ee1836aec4f5a977c1699a311db4d9027ef21ac8.tar.bz2 linux-ee1836aec4f5a977c1699a311db4d9027ef21ac8.zip |
tcp: refresh tp timestamp before tcp_mtu_probe()
In the unlikely event tcp_mtu_probe() is sending a packet, we
want tp->tcp_mstamp being as accurate as possible.
This means we need to call tcp_mstamp_refresh() a bit earlier in
tcp_write_xmit().
Fixes: 385e20706fac ("tcp: use tp->tcp_mstamp in output path")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tap.c')
0 files changed, 0 insertions, 0 deletions