On 18/10/17 - 11:22:51, Yuchung Cheng wrote: > New socket option TCP_FASTOPEN_KEY to allow different keys per > listener. The listener by default uses the global key until the > socket option is set. The key is a 16 bytes long binary data. This > option has no effect on regular non-listener TCP sockets. > > Signed-off-by: Yuchung Cheng <ych...@google.com> > Reviewed-by: Eric Dumazet <eduma...@google.com> > --- > include/net/request_sock.h | 2 ++ > include/net/tcp.h | 5 +++-- > include/uapi/linux/tcp.h | 1 + > net/ipv4/sysctl_net_ipv4.c | 3 ++- > net/ipv4/tcp.c | 33 +++++++++++++++++++++++++++ > net/ipv4/tcp_fastopen.c | 56 > +++++++++++++++++++++++++++++++++------------- > net/ipv4/tcp_ipv4.c | 1 + > 7 files changed, 82 insertions(+), 19 deletions(-)
Reviewed-by: Christoph Paasch <cpaa...@apple.com> Christoph