diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-09 19:19:30 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-10 23:33:49 -0400 |
commit | ab92bb2f679d66c7e12a6b1c0cdd76fe308f6546 (patch) | |
tree | 39ba3d67d7691f65a2d67ec782edd83271a2a654 /net/ipv6 | |
parent | 4aabd8ef8c43677cfee3e1e36c5a79edddb41942 (diff) |
tcp: Abstract back handling peer aliveness test into helper function.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 6cc67ed6c2e6..75d179555c28 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c | |||
@@ -1177,7 +1177,7 @@ static int tcp_v6_conn_request(struct sock *sk, struct sk_buff *skb) | |||
1177 | (sysctl_max_syn_backlog - inet_csk_reqsk_queue_len(sk) < | 1177 | (sysctl_max_syn_backlog - inet_csk_reqsk_queue_len(sk) < |
1178 | (sysctl_max_syn_backlog >> 2)) && | 1178 | (sysctl_max_syn_backlog >> 2)) && |
1179 | (!peer || !peer->tcp_ts_stamp) && | 1179 | (!peer || !peer->tcp_ts_stamp) && |
1180 | (!dst || !dst_metric(dst, RTAX_RTT))) { | 1180 | !tcp_peer_is_proven(req, dst)) { |
1181 | /* Without syncookies last quarter of | 1181 | /* Without syncookies last quarter of |
1182 | * backlog is filled with destinations, | 1182 | * backlog is filled with destinations, |
1183 | * proven to be alive. | 1183 | * proven to be alive. |