Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2023 00:05:06 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        net@freebsd.org
Subject:   TCP/IPv6 LOR in main
Message-ID:  <rq8oqon7-9p1o-3548-82n5-7s52np212ro9@yvfgf.mnoonqbm.arg>

next in thread | raw e-mail | index | archive | help
Hi,

with ALPHA1 inside a bhyve development VM:

lock order reversal:
  1st 0xfffffe0001522a70 tcphash (tcphash, sleep mutex) @ /sys/netinet/tcp_usrreq.c:1513
  2nd 0xffffffff81aa7bb0 in6_ifaddr_lock (in6_ifaddr_lock, rm) @ /sys/netinet6/in6_src.c:305
lock order tcphash -> in6_ifaddr_lock attempted at:
#0 0xffffffff80bc063e at witness_checkorder+0xbbe
#1 0xffffffff80b463e9 at _rm_rlock_debug+0x139
#2 0xffffffff80d7b99a at in6_selectsrc+0x45a
#3 0xffffffff80d7b4f1 at in6_selectsrc_socket+0x41
#4 0xffffffff80d79437 at in6_pcbconnect+0x247
#5 0xffffffff80d5d554 at tcp6_connect+0xa4
#6 0xffffffff80d5aeab at tcp6_usr_connect+0x2eb
#7 0xffffffff80bfcb43 at soconnectat+0xb3
#8 0xffffffff80c03c90 at kern_connectat+0xe0
#9 0xffffffff80c03b9b at sys_connect+0x9b
#10 0xffffffff8104a398 at amd64_syscall+0x138
#11 0xffffffff8101cbeb at fast_syscall_common+0xf8


-- 
Bjoern A. Zeeb                                                     r15:7



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?rq8oqon7-9p1o-3548-82n5-7s52np212ro9>