diff options
author | Jason Baron <jbaron@akamai.com> | 2019-05-29 12:33:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-30 13:41:26 -0700 |
commit | aa1236cdfa898dc4d41cdae8e69d401a2cc7f7f5 (patch) | |
tree | 86921bada63eabf265c6006afa99b942ff26d6db /net/ipv6/calipso.c | |
parent | 0f1ce0236865e89798c6b610ff2142982f216417 (diff) | |
download | linux-aa1236cdfa898dc4d41cdae8e69d401a2cc7f7f5.tar.bz2 |
tcp: add support for optional TFO backup key to net.ipv4.tcp_fastopen_key
Add the ability to add a backup TFO key as:
# echo "x-x-x-x,x-x-x-x" > /proc/sys/net/ipv4/tcp_fastopen_key
The key before the comma acks as the primary TFO key and the key after the
comma is the backup TFO key. This change is intended to be backwards
compatible since if only one key is set, userspace will simply read back
that single key as follows:
# echo "x-x-x-x" > /proc/sys/net/ipv4/tcp_fastopen_key
# cat /proc/sys/net/ipv4/tcp_fastopen_key
x-x-x-x
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>
Diffstat (limited to 'net/ipv6/calipso.c')
0 files changed, 0 insertions, 0 deletions