]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: RFC7413 option support for Fast Open server
authorDaniel Lee <Longinus00@gmail.com>
Mon, 6 Apr 2015 21:37:26 +0000 (14:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Apr 2015 22:36:39 +0000 (18:36 -0400)
commit9de545d258ffdcfd582fc20ae6a7bc16dc5e4d7a
tree05567522b8a365930815675c5961c608f9157940
parent98313411ae0eff0f28e25d50175a516b8b7d0187
tcp: RFC7413 option support for Fast Open server

Fast Open has been using the experimental option with a magic number
(RFC6994) to request and grant Fast Open cookies. This patch enables
the server to support the official IANA option 34 in RFC7413 in
addition.

The change has passed all existing Fast Open tests with both
old and new options at Google.

Signed-off-by: Daniel Lee <Longinus00@gmail.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/tcp.h
include/net/tcp.h
net/ipv4/tcp_fastopen.c
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c