]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d17d036d275ec4af00e207ff373ae5f09fc0a63
tree6eafce74d841ccfa7dfb776e5cc1563424b1b2cf
parent6d22703b350fdc23377aecc8092051a80d01b070
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