svn commit: r189289 - head/sys/netinet
Luigi Rizzo
luigi at FreeBSD.org
Mon Mar 2 14:17:03 PST 2009
Author: luigi
Date: Mon Mar 2 22:16:50 2009
New Revision: 189289
URL: http://svn.freebsd.org/changeset/base/189289
Log:
curr_time is a 64 bit variable so SYSCTL_LONG is not appropriate
as a handler.
The variable was exported only for debugging, but there is little reason
to do it now that the timekeeping is supported by various other variables.
For the time being just comment out the sysctl, but I think this
should go away.
Modified:
head/sys/netinet/ip_dummynet.c
Modified: head/sys/netinet/ip_dummynet.c
==============================================================================
--- head/sys/netinet/ip_dummynet.c Mon Mar 2 22:11:48 2009 (r189288)
+++ head/sys/netinet/ip_dummynet.c Mon Mar 2 22:16:50 2009 (r189289)
@@ -160,8 +160,10 @@ SYSCTL_DECL(_net_inet_ip);
SYSCTL_NODE(_net_inet_ip, OID_AUTO, dummynet, CTLFLAG_RW, 0, "Dummynet");
SYSCTL_INT(_net_inet_ip_dummynet, OID_AUTO, hash_size,
CTLFLAG_RW, &dn_hash_size, 0, "Default hash table size");
+#if 0 /* curr_time is 64 bit */
SYSCTL_LONG(_net_inet_ip_dummynet, OID_AUTO, curr_time,
CTLFLAG_RD, &curr_time, 0, "Current tick");
+#endif
SYSCTL_INT(_net_inet_ip_dummynet, OID_AUTO, ready_heap,
CTLFLAG_RD, &ready_heap.size, 0, "Size of ready heap");
SYSCTL_INT(_net_inet_ip_dummynet, OID_AUTO, extract_heap,
More information about the svn-src-all
mailing list