tcp: enable sockets to use MSG_FASTOPEN by default
[firefly-linux-kernel-4.4.55.git] / net / ipv4 / tcp_fastopen.c
index 766032b4a6c39b9894c95b5eeef1689e355605ff..f195d9316e55d3d7ef6dc5285606ea9de0f52a51 100644 (file)
@@ -8,7 +8,7 @@
 #include <net/inetpeer.h>
 #include <net/tcp.h>
 
-int sysctl_tcp_fastopen __read_mostly;
+int sysctl_tcp_fastopen __read_mostly = TFO_CLIENT_ENABLE;
 
 struct tcp_fastopen_context __rcu *tcp_fastopen_ctx;