Route related panic.

Pawel Jakub Dawidek nick at garage.freebsd.pl
Tue Jan 27 09:45:39 PST 2004


Hello.

I get this panic today:

recurse on non-recursive lock (sleep mutex) rentry @ /usr/src/sys/net/route.c:1297
first acquired @ /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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040127/eca14297/attachment-0001.bin


More information about the freebsd-current mailing list