OSDN Git Service

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)
commit065263f40f0972d5f1cd294bb0242bd5aa5f06b2
treec8d7915e4b9cb64a7e069b2842897af5b5c73f85
parenta9c54ad2c737853b1f404b10b09da4ca7fa18597
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