summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorWei Wang <weiwan@google.com>2017-04-20 23:45:47 +0200
committerDavid S. Miller <davem@davemloft.net>2017-04-24 20:27:17 +0200
commit46c2fa39877ed70415ee2b1acfb9129e956f6de4 (patch)
treea10691f0b2436b49fb8c172ea4be7b16693aa934 /include/net
parentnet/tcp_fastopen: Disable active side TFO in certain scenarios (diff)
downloadlinux-46c2fa39877ed70415ee2b1acfb9129e956f6de4.tar.xz
linux-46c2fa39877ed70415ee2b1acfb9129e956f6de4.zip
net/tcp_fastopen: Add snmp counter for blackhole detection
This counter records the number of times the firewall blackhole issue is detected and active TFO is disabled. Signed-off-by: Wei Wang <weiwan@google.com> Acked-by: Yuchung Cheng <ycheng@google.com> Acked-by: Neal Cardwell <ncardwell@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index c1abc2abbdcb..da28bef1d82b 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1507,7 +1507,7 @@ struct tcp_fastopen_context {
};
extern unsigned int sysctl_tcp_fastopen_blackhole_timeout;
-void tcp_fastopen_active_disable(void);
+void tcp_fastopen_active_disable(struct sock *sk);
bool tcp_fastopen_active_should_disable(struct sock *sk);
void tcp_fastopen_active_disable_ofo_check(struct sock *sk);
void tcp_fastopen_active_timeout_reset(void);