diff options
| author | Jason Baron <[email protected]> | 2019-05-29 16:33:59 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-05-30 20:41:26 +0000 |
| commit | aa1236cdfa898dc4d41cdae8e69d401a2cc7f7f5 (patch) | |
| tree | 86921bada63eabf265c6006afa99b942ff26d6db /drivers/net/xen-netback/interface.c | |
| parent | tcp: add support to TCP_FASTOPEN_KEY for optional backup key (diff) | |
| download | kernel-aa1236cdfa898dc4d41cdae8e69d401a2cc7f7f5.tar.gz kernel-aa1236cdfa898dc4d41cdae8e69d401a2cc7f7f5.zip | |
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 <[email protected]>
Signed-off-by: Christoph Paasch <[email protected]>
Acked-by: Yuchung Cheng <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
