]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net-tcp: Fast Open client - cookie-less mode
authorYuchung Cheng <ycheng@google.com>
Thu, 19 Jul 2012 06:43:11 +0000 (06:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Jul 2012 18:02:03 +0000 (11:02 -0700)
commit67da22d23fa6f3324e03bcd0580b914b2e4afbf3
treee794826d1dd7e30cf0885cbe93f22bc050c62359
parentaab4874355679c70f93993cf3b3fd74643b9ac33
net-tcp: Fast Open client - cookie-less mode

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 <ycheng@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.txt
include/linux/tcp.h
include/net/tcp.h
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c