Thread (16 messages) flat view 16 messages, 3 authors, 2012-07-19

Re: [PATCH v3 3/7] net-tcp: Fast Open client - sending SYN-data

From: David Miller <davem@davemloft.net>
Date: 2012-07-19 17:59:47

From: Eric Dumazet <redacted>
Date: Thu, 19 Jul 2012 19:57:51 +0200
On Thu, 2012-07-19 at 09:43 -0700, Yuchung Cheng wrote:
quoted
This patch implements sending SYN-data in tcp_connect(). The data is
from tcp_sendmsg() with flag MSG_FASTOPEN (implemented in a later patch).

The length of the cookie in tcp_fastopen_req, init'd to 0, controls the
type of the SYN. If the cookie is not cached (len==0), the host sends
data-less SYN with Fast Open cookie request option to solicit a cookie
from the remote. If cookie is not available (len > 0), the host sends
a SYN-data with Fast Open cookie option. If cookie length is negative,
  the SYN will not include any Fast Open option (for fall back operations).

To deal with middleboxes that may drop SYN with data or experimental TCP
option, the SYN-data is only sent once. SYN retransmits do not include
data or Fast Open options. The connection will fall back to regular TCP
handshake.

Signed-off-by: Yuchung Cheng <redacted>
 ...
Eric Dumazet [off-list ref]
I guess you're trying to ACK this? :-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help