Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Nov 2012 23:35:51 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Rui Paulo <rpaulo@freebsd.org>
Cc:        "<freebsd-net@freebsd.org>" <freebsd-net@freebsd.org>, "Andrey V. Elsukov" <ae@freebsd.org>, Hiroki Sato <hrs@allbsd.org>
Subject:   Re: LOR in rtsock/ifnet
Message-ID:  <CAJ-VmomW1HqX2vcrO7W1qMgt=_qk1zT1PE5R-Q%2BYHv7uWRU19Q@mail.gmail.com>
In-Reply-To: <7C5421B8-9D32-4771-B453-151D9D07A214@FreeBSD.org>
References:  <7C5421B8-9D32-4771-B453-151D9D07A214@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
DO we know which commit triggered this?



Adrian


On 21 November 2012 16:31, Rui Paulo <rpaulo@freebsd.org> wrote:
> 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 = 0x8011813ea, rsp = 0x7fffffffd408, rbp = 0x7fffffffd440 ---
>
> Regards,
> --
> Rui Paulo
>
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomW1HqX2vcrO7W1qMgt=_qk1zT1PE5R-Q%2BYHv7uWRU19Q>