Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 May 1995 23:30:59 +0200 (MET DST)
From:      Pierre Beyssac <pb@fasterix.freenix.fr>
To:        wollman@halloran-eldar.lcs.mit.edu (Garrett Wollman)
Cc:        pb@fasterix.freenix.fr, freebsd-bugs@freefall.cdrom.com, davidg@Root.COM
Subject:   Re: panic in rtfree(): even more info
Message-ID:  <199505152131.XAA00401@fasterix.frmug.fr.net>
In-Reply-To: <9505151848.AA18829@halloran-eldar.lcs.mit.edu> from "Garrett Wollman" at May 15, 95 02:48:05 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Wollman writes:
> Peter Wemm suggested the following patch from Cornell:
> !                       if ((rt = saved_nrt)->rt_refcnt <= 0)
> !                       if ((rt = saved_nrt))
> 
> Since I have been unable to reproduce the problem, I'd like the people
> experiencing the problem to see if this fixes anything...

It seems to fix the problem, thanks !

Here is how to reproduce the panics (you will not always get a
panic: rtfree, though) :

Boot single, then :

# ifconfig lo0 127.1

Repeat the following until the panic occurs (twice is generally
enough) :

# route add default 127.1
# ping 5.6.7.8
^C
# route delete default

You can vary the ping (-c 1 for example) or do more than one
between the route changes.

I managed to get a panic: rtfree the first time using the following
sequence, but it does not seem to work all the time :

ifconfig lo0 alias 1.2.3.4
route add default 1.2.3.4
ping 5.6.7.8
^C
route delete default
route add default 1.2.3.4
ping 5.6.7.8
-- 
Pierre Beyssac 		pb@fasterix.frmug.fr.net pb@fasterix.fdn.fr
FreeBSD, NetBSD, Linux -- Il y a moins bien, mais c'est plus cher.
You can also get less bang for more bucks. (translation F. Berjon)



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