tcp: enable sockets to use MSG_FASTOPEN by default 83/178983/2 accepted/tizen/unified/20180517.062406 submit/tizen/20180517.023841
authorYuchung Cheng <ycheng@google.com>
Thu, 31 Oct 2013 16:19:32 +0000 (09:19 -0700)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 16 May 2018 01:04:31 +0000 (10:04 +0900)
commit806ef9b90e1995a14068c142e0e7b890da2a68c4
treecb6758a1377c3a6862a9a3c23e74b5c3b079bfd9
parentb158008cbb5df1bf188573a7756b9d74821c141a
tcp: enable sockets to use MSG_FASTOPEN by default

Applications have started to use Fast Open (e.g., Chrome browser has
such an optional flag) and the feature has gone through several
generations of kernels since 3.7 with many real network tests. It's
time to enable this flag by default for applications to test more
conveniently and extensively.

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
[jh80.chung: cherry picked from commit 0d41cca490c2 from mainline]

Change-Id: I9dc9ce6e3e8de16bbefd5fd8c79ce9e4b39c4e81
Documentation/networking/ip-sysctl.txt
net/ipv4/tcp_fastopen.c