LoR tcphash -> in6_ifaddr_lock

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Fri, 12 May 2023 14:45:02 UTC
where does this one come from these days?

lock order reversal:
  1st 0xfffffe0002305a10 tcphash (tcphash, sleep mutex) @ /usr/src/sys/netinet/tcp_usrreq.c:1477
  2nd 0xffffffff81a5b9d0 in6_ifaddr_lock (in6_ifaddr_lock, rm) @ /usr/src/sys/netinet6/in6_src.c:305
lock order tcphash -> in6_ifaddr_lock attempted at:
#0 0xffffffff80bc92c3 at witness_checkorder+0xbb3
#1 0xffffffff80b503df at _rm_rlock_debug+0x12f
#2 0xffffffff80d84c2f at in6_selectsrc+0x44f
#3 0xffffffff80d84790 at in6_selectsrc_socket+0x40
#4 0xffffffff80d826f7 at in6_pcbconnect+0x247
#5 0xffffffff80d66813 at tcp6_connect+0xa3
#6 0xffffffff80d641f4 at tcp6_usr_connect+0x304
#7 0xffffffff80c057ff at soconnectat+0xaf
#8 0xffffffff80c0c8f1 at kern_connectat+0xe1
#9 0xffffffff80c0c7e5 at sys_connect+0x75
#10 0xffffffff81051760 at amd64_syscall+0x140
#11 0xffffffff81023e1b at fast_syscall_common+0xf8


-- 
Bjoern A. Zeeb                                                     r15:7