]> git.baikalelectronics.ru Git - 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)
commit1d021cad283d0e66dc5b8d4fb9402709414d6969
treee794826d1dd7e30cf0885cbe93f22bc050c62359
parent786235d5fe44e1af4ad59cd09b584b56413606af
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