Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2012 16:31:47 -0800
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        "<freebsd-net@freebsd.org>" <freebsd-net@freebsd.org>
Cc:        Hiroki Sato <hrs@allbsd.org>, "Andrey V. Elsukov" <ae@FreeBSD.org>
Subject:   LOR in rtsock/ifnet
Message-ID:  <7C5421B8-9D32-4771-B453-151D9D07A214@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
I just started seeing this on r243286.

lock order reversal:
 1st 0xfffffe0001b40400 if_addr_lock (if_addr_lock) @ =
/usr/home/rpaulo/freebsd/head/sys/net/rtsock.c:1818
 2nd 0xffffffff80c693f8 ifnet_rw (ifnet_rw) @ =
/usr/home/rpaulo/freebsd/head/sys/net/if.c:241
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b
kdb_backtrace() at kdb_backtrace+0x39
witness_checkorder() at witness_checkorder+0xc37
__rw_rlock() at __rw_rlock+0x8c
ifnet_byindex() at ifnet_byindex+0x22
sa6_recoverscope() at sa6_recoverscope+0x7b
rt_msg2() at rt_msg2+0x1a2
sysctl_rtsock() at sysctl_rtsock+0x68c
sysctl_root() at sysctl_root+0x1d7
userland_sysctl() at userland_sysctl+0x192
sys___sysctl() at sys___sysctl+0x74
amd64_syscall() at amd64_syscall+0x265
Xfast_syscall() at Xfast_syscall+0xfb
--- syscall (202, FreeBSD ELF64, sys___sysctl), rip =3D 0x8011813ea, rsp =
=3D 0x7fffffffd408, rbp =3D 0x7fffffffd440 ---

Regards,
--
Rui Paulo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7C5421B8-9D32-4771-B453-151D9D07A214>