Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2000 10:00:01 -0700 (PDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        freebsd-bugs@FreeBSD.org
Subject:   kern/19809: Make mbstat.m_mtypes[] u_long instead of u_short
Message-ID:  <200007101700.KAA66174@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/19809; it has been noted by GNATS.

From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To: iedowse@maths.tcd.ie
Cc: FreeBSD-gnats-submit@FreeBSD.ORG, bmilekic@dsuper.net
Subject: kern/19809: Make mbstat.m_mtypes[] u_long instead of u_short
Date: Mon, 10 Jul 2000 12:56:10 -0400 (EDT)

 <<On Sun, 9 Jul 2000 21:31:26 +0100 (BST), iedowse@maths.tcd.ie said:
 
 > 	Apply the following patch. This fixes both of the above
 > 	issues, and removes some assumptions within netstat(1) about
 > 	the size of the m_mtypes[] array.
 
 Looks good to me.  I'd rather have the counts exported as a separate
 MIB entry, though, which would avoid any dependency by netstat on the
 actual number of types supported in the kernel.
 
 -GAWollman
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007101700.KAA66174>