]> git.baikalelectronics.ru Git - 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)
commit057f0b8c40b09395691163d85b4fc45c8d12e88b
tree852380c08234ff831bcf3177a21bcbeba0329b1f
parentdd2bb5b2d3b50475961a8359ba8bcb320bdddf37
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: 540bb6fefd38a ("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