selftests/net: add TFO key rotation selftest
authorJason Baron <jbaron@akamai.com>
Wed, 29 May 2019 16:34:01 +0000 (12:34 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 May 2019 20:41:26 +0000 (13:41 -0700)
commit10fbcdd12aa24fdb4b357a39abc03686d15f04fd
tree0d30a02c064add3df6acf89bfda325e2eff610bf
parent2dc7e48dee68219dd8921824473306036ea45152
selftests/net: add TFO key rotation selftest

Demonstrate how the primary and backup TFO keys can be rotated while
minimizing the number of client cookies that are rejected.

Signed-off-by: Jason Baron <jbaron@akamai.com>
Signed-off-by: Christoph Paasch <cpaasch@apple.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/.gitignore
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/tcp_fastopen_backup_key.c [new file with mode: 0644]
tools/testing/selftests/net/tcp_fastopen_backup_key.sh [new file with mode: 0755]