1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Add a matching tunable for net.inet.tcp.sack.enable sysctl.

This commit is contained in:
Robert Watson 2004-10-26 08:59:09 +00:00
parent 5d9d81e7ea
commit c427483381
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136967

View File

@ -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