]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
secure_seq: downgrade to per-host timestamp offsets
authorFlorian Westphal <fw@strlen.de>
Fri, 24 Mar 2017 18:42:37 +0000 (19:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Mar 2017 02:27:44 +0000 (19:27 -0700)
commit28ee1b746f493b7c62347d714f58fbf4f70df4f0
tree852380c08234ff831bcf3177a21bcbeba0329b1f
parent95f255211396958c718aef8c45e3923b5211ea7b
secure_seq: downgrade to per-host timestamp offsets

Unfortunately too many devices (not under our control) use tcp_tw_recycle=1,
which depends on timestamps being identical of the same saddr.

Although tcp_tw_recycle got removed in net-next we can't make
such end hosts disappear so downgrade to per-host timestamp offsets.

Cc: Soheil Hassas Yeganeh <soheil@google.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Reported-by: Yvan Vanrossomme <yvan@vanrossomme.net>
Fixes: 95a22caee396c ("tcp: randomize tcp timestamp offsets for each connection")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/secure_seq.c