summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_sack.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-10-26 08:59:09 +0000
committerrwatson <rwatson@FreeBSD.org>2004-10-26 08:59:09 +0000
commit70db0bbc925d15d4187df8fc2fa458c4b538fcc1 (patch)
tree5a5adcb0a2fb4152ed8feb8d26f86510cff8c790 /sys/netinet/tcp_sack.c
parentc66aa10c8e6167eefdae7f218765e3e5f146074a (diff)
downloadFreeBSD-src-70db0bbc925d15d4187df8fc2fa458c4b538fcc1.zip
FreeBSD-src-70db0bbc925d15d4187df8fc2fa458c4b538fcc1.tar.gz
Add a matching tunable for net.inet.tcp.sack.enable sysctl.
Diffstat (limited to 'sys/netinet/tcp_sack.c')
-rw-r--r--sys/netinet/tcp_sack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/tcp_sack.c b/sys/netinet/tcp_sack.c
index e30e9d6..98055e1 100644
--- a/sys/netinet/tcp_sack.c
+++ b/sys/netinet/tcp_sack.c
@@ -168,6 +168,7 @@ SYSCTL_NODE(_net_inet_tcp, OID_AUTO, sack, CTLFLAG_RW, 0, "TCP SACK");
int tcp_do_sack = 1;
SYSCTL_INT(_net_inet_tcp_sack, OID_AUTO, enable, CTLFLAG_RW,
&tcp_do_sack, 0, "Enable/Disable TCP SACK support");
+TUNABLE_INT("net.inet.tcp.sack.enable", &tcp_do_sack);
/*
* This function is called upon receipt of new valid data (while not in header
OpenPOWER on IntegriCloud