Re: LOR when booting CURRENT (ip_divert.c, PFil hook read/write mutex) [#181]

From: Yar Tikhiy <yar_at_comp.chem.msu.su>
Date: Wed, 26 Jul 2006 06:36:36 +0000
On Wed, Mar 22, 2006 at 08:38:22AM +0000, Bjoern A. Zeeb wrote:
> On Wed, 22 Mar 2006, Ganbold wrote:
> 
> >When booting recent current I get LOR:
> 
> lock order reversal:
>  1st 0xc23d5090 inp (divinp) _at_ sys/netinet/ip_divert.c:327
>  2nd 0xc07f21d8 PFil hook read/write mutex (PFil hook read/write mutex) _at_ 
>  sys/net/pfil.c:73
> 
> added this LOR with # 181 to 'the LOR page':
> 	http://sources.zabbadoz.net/freebsd/lor.html#181

FWIW, the LOR still is there.  I was seeing it yesterday while
fiddling with the ipfw and natd rc.d scripts.

lock order reversal:
 1st 0xc1a36090 inp (divinp) _at_ /usr/src/sys/modules/ipdivert/../../netinet/ip_divert.c:350
 2nd 0xc0a51918 PFil hook read/write mutex (PFil hook read/write mutex) _at_ /usr/src/sys/net/pfil.c:73
KDB: stack backtrace:
kdb_backtrace(0,ffffffff,c0a11598,c0a119d0,c09be4c4,...) at kdb_backtrace+0x29
witness_checkorder(c0a51918,1,c0922658,49) at witness_checkorder+0x586
_rw_rlock(c0a51918,c0922658,49) at _rw_rlock+0x54
pfil_run_hooks(c0a51900,c7f1bb40,c1692c00,2,0,...) at pfil_run_hooks+0x2c
ip_output(c1760a00,0,c7f1bb0c,22,0,...) at ip_output+0x627
div_send(c17fa000,0,c1760a00,c16ed990,0,c166ad80) at div_send+0x208
sosend(c17fa000,c16ed990,c7f1bbe8,c1760a00,0,0,c166ad80) at sosend+0x3e5
kern_sendit(c166ad80,3,c7f1bc64,0,0,0) at kern_sendit+0x108
sendit(c166ad80,3,c7f1bc64,0,bfbdebfc,...) at sendit+0x87
sendto(c166ad80,c7f1bd04) at sendto+0x46
syscall(3b,3b,3b,2,3c,...) at syscall+0x27e
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (133, FreeBSD ELF32, sendto), eip = 0x2813cbc7, esp = 0xbfbdeb2c, ebp = 0xbfbeebd8 ---

-- 
Yar
Received on Wed Jul 26 2006 - 04:36:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:58 UTC