]> git.baikalelectronics.ru Git - kernel.git/commit
net/tcp-fastopen: refactor cookie check logic
authorWei Wang <weiwan@google.com>
Mon, 23 Jan 2017 18:59:20 +0000 (10:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Jan 2017 19:04:38 +0000 (14:04 -0500)
commit9d8dfa56c23d0f51eb478ee8af0ffd6fc36b7552
treec8d7915e4b9cb64a7e069b2842897af5b5c73f85
parented5a675fb1fa788fdada81f870d50ff3741f4eb1
net/tcp-fastopen: refactor cookie check logic

Refactor the cookie check logic in tcp_send_syn_data() into a function.
This function will be called else where in later changes.

Signed-off-by: Wei Wang <weiwan@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_fastopen.c
net/ipv4/tcp_output.c