diff options
author | Eric Dumazet <edumazet@google.com> | 2015-03-17 21:32:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-17 22:01:56 -0400 |
commit | 9439ce00f208d95703a6725e4ea986dd90e37ffd (patch) | |
tree | 734c4448ed923710ea05b3729bcdb3a6c09db46e /net/ipv4/tcp_input.c | |
parent | 4e9a578e5b6bdfa8b7fed7a41f28a86a7cffc85f (diff) |
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 'net/ipv4/tcp_input.c')
-rw-r--r-- | net/ipv4/tcp_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index fbe518981d36..a94ddb96fc85 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -6120,7 +6120,7 @@ int tcp_conn_request(struct request_sock_ops *rsk_ops, | |||
6120 | if (err || want_cookie) | 6120 | if (err || want_cookie) |
6121 | goto drop_and_free; | 6121 | goto drop_and_free; |
6122 | 6122 | ||
6123 | tcp_rsk(req)->listener = NULL; | 6123 | tcp_rsk(req)->tfo_listener = false; |
6124 | af_ops->queue_hash_add(sk, req, TCP_TIMEOUT_INIT); | 6124 | af_ops->queue_hash_add(sk, req, TCP_TIMEOUT_INIT); |
6125 | } | 6125 | } |
6126 | 6126 | ||