Re: [PATCH v2 7/7] net-tcp: Fast Open client - cookie-less mode
From: Eric Dumazet <hidden>
Date: 2012-07-18 21:36:47
From: Eric Dumazet <hidden>
Date: 2012-07-18 21:36:47
On Wed, 2012-07-18 at 14:01 -0700, Yuchung Cheng wrote:
In trusted networks, e.g., intranet, data-center, the client does not need to use Fast Open cookie to mitigate DoS attacks. In cookie-less mode, sendmsg() with MSG_FASTOPEN flag will send SYN-data regardless of cookie availability. Signed-off-by: Yuchung Cheng <redacted> --- Documentation/networking/ip-sysctl.txt | 2 ++ include/linux/tcp.h | 1 + include/net/tcp.h | 1 + net/ipv4/tcp_input.c | 8 ++++++-- net/ipv4/tcp_output.c | 6 +++++- 5 files changed, 15 insertions(+), 3 deletions(-)
Acked-by: Eric Dumazet <edumazet@google.com>