Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2023 07:48:56 -0500
From:      Mike Karels <mike@karels.net>
To:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   IPv6 LOR in main
Message-ID:  <EB0792DF-5281-49C5-92B1-A7CC06849BA4@karels.net>

next in thread | raw e-mail | index | archive | help
I have a machine running a recent main system, 765ad5b28d3f, just after
ALPHA1.  It hosts a VM on bhyve.  About the time I installed and configured
ALPHA1 on the guest, the host got this LOR from IPv6 (nd6_llinfo_timer):

lock order reversal:
 1st 0xfffff802ea7dce90 lle (lle, rw) @ netinet6/in6.c:2442
 2nd 0xfffffe0119c9a0b0 nd6 list (nd6 list, rw) @ netinet6/nd6_rtr.c:864
lock order nd6 list -> lle established at:
#0 0xffffffff80bc0eba at witness_checkorder+0x30a
#1 0xffffffff80b47895 at _rw_wlock_cookie+0x65
#2 0xffffffff80d9023e at nd6_llinfo_timer+0x9e
#3 0xffffffff80b6c0ce at softclock_call_cc+0x14e
#4 0xffffffff80b6d836 at softclock_thread+0xc6
#5 0xffffffff80b03792 at fork_exit+0x82
#6 0xffffffff8101e1ce at fork_trampoline+0xe
lock order lle -> nd6 list attempted at:
#0 0xffffffff80bc176e at witness_checkorder+0xbbe
#1 0xffffffff80b47895 at _rw_wlock_cookie+0x65
#2 0xffffffff80d969e1 at defrouter_remove+0x41
#3 0xffffffff80d9363b at nd6_na_input+0x9bb
#4 0xffffffff80d68157 at icmp6_input+0x9a7
#5 0xffffffff80d80867 at ip6_input+0xc97
#6 0xffffffff80ca3e3d at netisr_dispatch_src+0xad
#7 0xffffffff80c8689a at ether_demux+0x17a
#8 0xffffffff80c87f0f at ether_nh_input+0x39f
#9 0xffffffff80ca3e3d at netisr_dispatch_src+0xad
#10 0xffffffff80c86cf9 at ether_input+0xd9
#11 0xffffffff80c8d01d at tunwrite+0x51d
#12 0xffffffff809d73b3 at devfs_write_f+0xf3
#13 0xffffffff80bc6dc2 at dofilewrite+0x82
#14 0xffffffff80bc6cdc at sys_writev+0x6c
#15 0xffffffff8104b3a8 at amd64_syscall+0x138
#16 0xffffffff8101da7b at fast_syscall_common+0xf8

		Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EB0792DF-5281-49C5-92B1-A7CC06849BA4>