From owner-freebsd-net Wed Mar 28 12: 6:32 2001 Delivered-To: freebsd-net@freebsd.org Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.43.88]) by hub.freebsd.org (Postfix) with ESMTP id 1E1A737B726; Wed, 28 Mar 2001 12:06:29 -0800 (PST) (envelope-from bmah@cisco.com) Received: from bmah-freebsd-0.cisco.com (bmah-freebsd-0.cisco.com [171.70.84.42]) by sj-msg-core-2.cisco.com (8.9.3/8.9.1) with ESMTP id MAA23784; Wed, 28 Mar 2001 12:06:49 -0800 (PST) Received: (from bmah@localhost) by bmah-freebsd-0.cisco.com (8.11.3/8.11.1) id f2SK6S024552; Wed, 28 Mar 2001 12:06:28 -0800 (PST) (envelope-from bmah) Message-Id: <200103282006.f2SK6S024552@bmah-freebsd-0.cisco.com> X-Mailer: exmh version 2.3.1 01/19/2001 with nmh-1.0.4 To: Hajimu UMEMOTO Cc: bmah@freebsd.org, joe@freebsd.org, freebsd-net@freebsd.org Subject: Re: netstat(1) bug in per-address packet counts? In-Reply-To: <20010329.045917.41651506.ume@mahoroba.org> References: <200103201730.f2KHUlo11577@bmah-freebsd-0.cisco.com> <20010329.045917.41651506.ume@mahoroba.org> Comments: In-reply-to Hajimu UMEMOTO message dated "Thu, 29 Mar 2001 04:59:17 +0900." From: bmah@freebsd.org (Bruce A. Mah) Reply-To: bmah@freebsd.org X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1098388324P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Wed, 28 Mar 2001 12:06:28 -0800 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --==_Exmh_1098388324P Content-Type: text/plain; charset=us-ascii If memory serves me right, Hajimu UMEMOTO wrote: > >>>>> On Tue, 20 Mar 2001 09:30:47 -0800 > >>>>> Bruce A. Mah said: > > bmah> I was playing around with netstat(1) on a recent RELENG_4 machine, and > bmah> noticed something odd. Apparently, the input packet counter for the > bmah> IPv6 loopback address never gets incremented (even after some pings, > bmah> the input packet count on lo0 is still 0): > > I received the patch and just committed it. > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet6/ip6_input.c.diff?r1=1. > 21&r2=1.22 Nice catch. I thought it would be something like that, but I crashed my -CURRENT kernel when I tried it. Seems that I forgot some of the checks (for null pointers, etc.). Might be nice to get this to RELENG_4, if possible. Thanks much! Bruce. --==_Exmh_1098388324P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: Exmh version 2.2 06/23/2000 iD8DBQE6wkRE2MoxcVugUsMRArZwAKDtgpzBeABKcltJvWFwG2s7+L9AdgCg3r+q 2b8MBtHH52z0RdU1MeEEzag= =db6C -----END PGP SIGNATURE----- --==_Exmh_1098388324P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message