From owner-freebsd-bugs Mon May 14 1:27:49 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 86A0537B424 for ; Mon, 14 May 2001 01:27:44 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f4E8RaD06198; Mon, 14 May 2001 11:27:36 +0300 (EEST) (envelope-from ru) Date: Mon, 14 May 2001 11:27:36 +0300 From: Ruslan Ermilov To: Peter Pentchev , freebsd-bugs@FreeBSD.ORG Subject: Re: i386/27280: netstat -rn prints "kvm_read: Bad Address" Message-ID: <20010514112736.A5583@sunbay.com> Mail-Followup-To: Peter Pentchev , freebsd-bugs@FreeBSD.ORG References: <200105120940.f4C9e5P74892@freefall.freebsd.org> <20010512201004.B78947@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010512201004.B78947@sunbay.com>; from ru@FreeBSD.org on Sat, May 12, 2001 at 08:10:04PM +0300 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, May 12, 2001 at 08:10:04PM +0300, Ruslan Ermilov wrote: > On Sat, May 12, 2001 at 02:40:05AM -0700, Peter Pentchev wrote: > > > > Confirmed here, on a 4.3-STABLE system rebuilt yesterday. > > > > Can you try the attached patch and see if it helps? > > > > G'luck, > > Peter > > > > -- > > I've heard that this sentence is a rumor. > > > > Index: src/usr.bin/netstat/route.c > > =================================================================== > > RCS file: /home/ncvs/src/usr.bin/netstat/route.c,v > > retrieving revision 1.41.2.6 > > diff -u -r1.41.2.6 route.c > > --- src/usr.bin/netstat/route.c 2001/05/10 08:26:46 1.41.2.6 > > +++ src/usr.bin/netstat/route.c 2001/05/12 09:33:20 > > @@ -591,7 +591,7 @@ > > /* > > * Don't print protocol-cloned routes unless -a. > > */ > > - if (rt->rt_flags & RTF_WASCLONED && !aflag) { > > + if (rt->rt_flags & RTF_WASCLONED && rt->rt_parent != NULL && !aflag) { > > kget(rt->rt_parent, parent); > > if (parent.rt_flags & RTF_PRCLONING) > > return; > > > This is bogus, could you please give me an account on a problematic box? > Fixed now, I didn't realize I have uncommitted code running on my -STABLE box. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message