diff options
author | Andrew Vagin <[email protected]> | 2013-08-27 12:21:55 +0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-08-29 15:11:12 -0400 |
commit | e3e12028315749b7fa2edbc37328e5847be9ede9 (patch) | |
tree | 56b91f5c9bf69c923b5ca397873145777aca2db4 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | c7781a6e3c4a9a17e144ec2db00ebfea327bd627 (diff) |
tcp: don't apply tsoffset if rcv_tsecr is zero
The zero value means that tsecr is not valid, so it's a special case.
tsoffset is used to customize tcp_time_stamp for one socket.
tsoffset is usually zero, it's used when a socket was moved from one
host to another host.
Currently this issue affects logic of tcp_rcv_rtt_measure_ts. Due to
incorrect value of rcv_tsecr, tcp_rcv_rtt_measure_ts sets rto to
TCP_RTO_MAX.
Cc: Pavel Emelyanov <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Alexey Kuznetsov <[email protected]>
Cc: James Morris <[email protected]>
Cc: Hideaki YOSHIFUJI <[email protected]>
Cc: Patrick McHardy <[email protected]>
Reported-by: Cyrill Gorcunov <[email protected]>
Signed-off-by: Andrey Vagin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions