[Bug 289184] lock order reversal between tcphash (tcp_usrreq.c:1529) and in6_ifaddr_lock (in6_src.c:301)

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289184

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #8 from [email protected] ---
(In reply to Gordon Bergling from comment #0)
I also encountered this in 15-stable, and it is reliably reproducible.

+lock order reversal:
+ 1st 0xfffffe00c4489a00 tcphash (tcphash, sleep mutex) @
/usr/src/sys/netinet/tcp_usrreq.c:1529
+ 2nd 0xffffffff822e8ae0 in6_ifaddr_lock (in6_ifaddr_lock, rm) @
/usr/src/sys/netinet6/in6_src.c:293
+lock order tcphash -> in6_ifaddr_lock attempted at:
+#0 0xffffffff80c0eb21 at witness_checkorder+0xbe1
+#1 0xffffffff80b8dc79 at _rm_rlock_debug+0x129
+#2 0xffffffff80de61fd at in6_selectsrc+0x3fd
+#3 0xffffffff80de5d9d at in6_selectsrc_socket+0x6d
+#4 0xffffffff80de3861 at in6_pcbconnect+0x291
+#5 0xffffffff80dc6877 at tcp6_connect+0xb7
+#6 0xffffffff80dc41f5 at tcp6_usr_connect+0x2f5
+#7 0xffffffff80c4f500 at soconnectat+0xc0
+#8 0xffffffff80c577d1 at kern_connectat+0xe1
+#9 0xffffffff80c576c1 at sys_connect+0x81
+#10 0xffffffff810eb979 at amd64_syscall+0x169
+#11 0xffffffff810bd36b at fast_syscall_common+0xf8

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.