summaryrefslogtreecommitdiffstats
path: root/include/linux/tcp.h
diff options
context:
space:
mode:
authorEric Dumazet2015-03-18 02:32:29 +0100
committerDavid S. Miller2015-03-18 03:01:56 +0100
commit9439ce00f208d95703a6725e4ea986dd90e37ffd (patch)
tree734c4448ed923710ea05b3729bcdb3a6c09db46e /include/linux/tcp.h
parentinet: add rsk_listener field to struct request_sock (diff)
downloadkernel-qcow2-linux-9439ce00f208d95703a6725e4ea986dd90e37ffd.tar.gz
kernel-qcow2-linux-9439ce00f208d95703a6725e4ea986dd90e37ffd.tar.xz
kernel-qcow2-linux-9439ce00f208d95703a6725e4ea986dd90e37ffd.zip
tcp: rename struct tcp_request_sock listener
The listener field in struct tcp_request_sock is a pointer back to the listener. We now have req->rsk_listener, so TCP only needs one boolean and not a full pointer. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/tcp.h')
-rw-r--r--include/linux/tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h
index 97dbf16f7d9d..f869ae8afbaf 100644
--- a/include/linux/tcp.h
+++ b/include/linux/tcp.h
@@ -111,7 +111,7 @@ struct tcp_request_sock_ops;
struct tcp_request_sock {
struct inet_request_sock req;
const struct tcp_request_sock_ops *af_specific;
- struct sock *listener; /* needed for TFO */
+ bool tfo_listener;
u32 rcv_isn;
u32 snt_isn;
u32 snt_synack; /* synack sent time */