From owner-freebsd-current Sun Jul 2 8:20:22 2000 Delivered-To: freebsd-current@freebsd.org Received: from mimer.webgiro.com (mimer.webgiro.com [212.209.29.5]) by hub.freebsd.org (Postfix) with ESMTP id BBB6B37BB1B for ; Sun, 2 Jul 2000 08:20:13 -0700 (PDT) (envelope-from abial@webgiro.com) Received: by mimer.webgiro.com (Postfix, from userid 66) id 099752DC0A; Sun, 2 Jul 2000 17:25:58 +0200 (CEST) Received: by mx.webgiro.com (Postfix, from userid 1001) id 399E87817; Sun, 2 Jul 2000 17:16:32 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mx.webgiro.com (Postfix) with ESMTP id 3552510E17 for ; Sun, 2 Jul 2000 17:16:32 +0200 (CEST) Date: Sun, 2 Jul 2000 17:16:32 +0200 (CEST) From: Andrzej Bialecki To: freebsd-current@freebsd.org Subject: Possible bug in netinet6/in6_rmx.c ? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, While working on adding dynamic sysctls support, I discovered something that looks like a bug. For kernels that have both INET and INET6, three sysctl entries (rtexpire, rtminexpire, rtmaxcache) are registered twice - both in netinet/in_rmx.c and netinet6/in6_rmx.c. It seems they should be registered only once, within a section that is common to INET and INET6. Andrzej Bialecki // WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message