From owner-freebsd-bugs Sat May 12 10:10:19 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 CB8EB37B496 for ; Sat, 12 May 2001 10:10:14 -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 f4CHA4C79469; Sat, 12 May 2001 20:10:04 +0300 (EEST) (envelope-from ru) Date: Sat, 12 May 2001 20:10:04 +0300 From: Ruslan Ermilov To: Peter Pentchev Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: i386/27280: netstat -rn prints "kvm_read: Bad Address" Message-ID: <20010512201004.B78947@sunbay.com> Mail-Followup-To: Peter Pentchev , freebsd-bugs@FreeBSD.ORG References: <200105120940.f4C9e5P74892@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200105120940.f4C9e5P74892@freefall.freebsd.org>; from roam@orbitel.bg on Sat, May 12, 2001 at 02:40:05AM -0700 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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? -- 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