aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-03-17 18:32:29 -0700
committerDavid S. Miller <davem@davemloft.net>2015-03-17 22:01:56 -0400
commit9439ce00f208d95703a6725e4ea986dd90e37ffd (patch)
tree734c4448ed923710ea05b3729bcdb3a6c09db46e /include
parentinet: add rsk_listener field to struct request_sock (diff)
downloadlinux-dev-9439ce00f208d95703a6725e4ea986dd90e37ffd.tar.xz
linux-dev-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')
-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 */