diff options
author | bmilekic <bmilekic@FreeBSD.org> | 2000-09-25 23:40:22 +0000 |
---|---|---|
committer | bmilekic <bmilekic@FreeBSD.org> | 2000-09-25 23:40:22 +0000 |
commit | 52664bd5ff415cd7ec29ae2100286597cb326acc (patch) | |
tree | 9c6a6459caac20cc9df0154c137d72975e6818f0 | |
parent | 311be79390dfb9acb3868ba02383bbff8ff8ef2d (diff) | |
download | FreeBSD-src-52664bd5ff415cd7ec29ae2100286597cb326acc.zip FreeBSD-src-52664bd5ff415cd7ec29ae2100286597cb326acc.tar.gz |
Finally make do_tcpdrain sysctl live under correct parent, _net_inet_tcp,
as opposed to _debug. Like before, default value remains 1.
-rw-r--r-- | sys/netinet/tcp_subr.c | 4 | ||||
-rw-r--r-- | sys/netinet/tcp_timewait.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index da613d5..b927225 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -129,8 +129,8 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, tcbhashsize, CTLFLAG_RD, &tcp_tcbhashsize, 0, "Size of TCP control-block hashtable"); static int do_tcpdrain = 1; -SYSCTL_INT(_debug, OID_AUTO, do_tcpdrain, CTLFLAG_RW, &do_tcpdrain, 0, - "Enable non Net3 compliant tcp_drain"); +SYSCTL_INT(_net_inet_tcp, OID_AUTO, do_tcpdrain, CTLFLAG_RW, &do_tcpdrain, 0, + "Enable tcp_drain routine for extra help when low on mbufs"); SYSCTL_INT(_net_inet_tcp, OID_AUTO, pcbcount, CTLFLAG_RD, &tcbinfo.ipi_count, 0, "Number of active PCBs"); diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c index da613d5..b927225 100644 --- a/sys/netinet/tcp_timewait.c +++ b/sys/netinet/tcp_timewait.c @@ -129,8 +129,8 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, tcbhashsize, CTLFLAG_RD, &tcp_tcbhashsize, 0, "Size of TCP control-block hashtable"); static int do_tcpdrain = 1; -SYSCTL_INT(_debug, OID_AUTO, do_tcpdrain, CTLFLAG_RW, &do_tcpdrain, 0, - "Enable non Net3 compliant tcp_drain"); +SYSCTL_INT(_net_inet_tcp, OID_AUTO, do_tcpdrain, CTLFLAG_RW, &do_tcpdrain, 0, + "Enable tcp_drain routine for extra help when low on mbufs"); SYSCTL_INT(_net_inet_tcp, OID_AUTO, pcbcount, CTLFLAG_RD, &tcbinfo.ipi_count, 0, "Number of active PCBs"); |