Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2001 11:27:36 +0300
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Peter Pentchev <roam@orbitel.bg>, freebsd-bugs@FreeBSD.ORG
Subject:   Re: i386/27280: netstat -rn prints "kvm_read: Bad Address"
Message-ID:  <20010514112736.A5583@sunbay.com>
In-Reply-To: <20010512201004.B78947@sunbay.com>; from ru@FreeBSD.org on Sat, May 12, 2001 at 08:10:04PM %2B0300
References:  <200105120940.f4C9e5P74892@freefall.freebsd.org> <20010512201004.B78947@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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