Route related panic.

From: Pawel Jakub Dawidek <nick_at_garage.freebsd.pl>
Date: Tue, 27 Jan 2004 18:44:54 +0100
Hello.

I get this panic today:

recurse on non-recursive lock (sleep mutex) rentry _at_ /usr/src/sys/net/route.c:1297
first acquired _at_ /usr/src/sys/net/route.c:182

db> trace
rt_check+0x19c
ether_output+0x62
ip_output+0xc66
tcp_output+0xab3
tcp_timer_persist+0x129
softclock+0x1ad
ithread_loop+0x177
fork_exit
fork_trampoline

How to repeat:
I can reproduce this panic by removing all routes and adding for example:

	# route add -net 10.1.0.0/16 10.1.253.253

I got little patch for this, but I'm not sure if my fix is correct
(it works for me, but maybe it's just a workaround):

	http://garage.freebsd.pl/patches/route.c.patch

As you can see I added one more additional check for simlar situation,
but maybe it's just useless.

-- 
Pawel Jakub Dawidek                       pawel_at_dawidek.net
UNIX Systems Programmer/Administrator     http://garage.freebsd.pl
Am I Evil? Yes, I Am!                     http://cerber.sourceforge.net

Received on Tue Jan 27 2004 - 08:45:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:40 UTC