tcp: allow to turn tcp timestamp randomization off
authorFlorian Westphal <fw@strlen.de>
Thu, 1 Dec 2016 10:32:07 +0000 (11:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Dec 2016 17:49:59 +0000 (12:49 -0500)
commit25429d7b7dca01dc4f17205de023a30ca09390d0
tree6eafce74d841ccfa7dfb776e5cc1563424b1b2cf
parent95a22caee396cef0bb2ca8fafdd82966a49367bb
tcp: allow to turn tcp timestamp randomization off

Eric says: "By looking at tcpdump, and TS val of xmit packets of multiple
flows, we can deduct the relative qdisc delays (think of fq pacing).
This should work even if we have one flow per remote peer."

Having random per flow (or host) offsets doesn't allow that anymore so add
a way to turn this off.

Suggested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.txt
net/core/secure_seq.c
net/ipv4/tcp_input.c