]> 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)
commitbe0807786f037c79baf65fd2d6550a5bb474939b
tree852380c08234ff831bcf3177a21bcbeba0329b1f
parentc7af53d35d90a32091c63db2c68617269752cf1d
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: 6d22703b350fd ("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