Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2023 11:17:01 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        net@freebsd.org
Subject:   IPv6 LORs etc
Message-ID:  <8qqrn586-7r8r-1652-8r8q-qpnn9sn47qrr@yvfgf.mnoonqbm.arg>

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

I am seeing a lot more LORs etc. again:


# rtsol vtnet0
Invoking IPv6 network device address event may sleep with the following non-sleepable locks held:
exclusive sleep mutex vtnet0-rx0 (vtnet0-rx0) r = 0 (0xfffff8000176c600) locked @ /usr/src/sys/dev/virtio/network/if_vtnet.c:2188
stack backtrace:
#0 0xffffffff80bc4925 at witness_debugger+0x65
#1 0xffffffff80bc5a79 at witness_warn+0x3f9
#2 0xffffffff80d7096a at in6_update_ifa+0xc1a
#3 0xffffffff80d9c5b9 at in6_ifadd+0x1d9
#4 0xffffffff80d98d3f at nd6_ra_input+0x103f
#5 0xffffffff80d6b3f8 at icmp6_input+0x898
#6 0xffffffff80d838a3 at ip6_input+0xcc3
#7 0xffffffff80ca72dd at netisr_dispatch_src+0xad
#8 0xffffffff80c88e6a at ether_demux+0x17a
#9 0xffffffff80c8a492 at ether_nh_input+0x392
#10 0xffffffff80ca72dd at netisr_dispatch_src+0xad
#11 0xffffffff80c892b9 at ether_input+0xd9
#12 0xffffffff8097ba03 at vtnet_rxq_eof+0x7c3
#13 0xffffffff8097b19a at vtnet_rx_vq_process+0x9a
#14 0xffffffff80b0c286 at ithread_loop+0x276
#15 0xffffffff80b08730 at fork_exit+0x80
#16 0xffffffff81020d8e at fork_trampoline+0xe


lock order reversal: (sleepable after non-sleepable)
  1st 0xfffff8000176c600 vtnet0-rx0 (vtnet0-rx0, sleep mutex) @ /usr/src/sys/dev/virtio/network/if_vtnet.c:2188
  2nd 0xffffffff81a4e960 in6_multi_sx (in6_multi_sx, sx) @ /usr/src/sys/netinet6/in6_mcast.c:1219
lock order vtnet0-rx0 -> in6_multi_sx attempted at:
#0 0xffffffff80bc44e3 at witness_checkorder+0xbb3
#1 0xffffffff80b5d392 at _sx_xlock+0x62
#2 0xffffffff80d79341 at in6_joingroup+0x31
#3 0xffffffff80d70d2b at in6_update_ifa+0xfdb
#4 0xffffffff80d9c5b9 at in6_ifadd+0x1d9
#5 0xffffffff80d98d3f at nd6_ra_input+0x103f
#6 0xffffffff80d6b3f8 at icmp6_input+0x898
#7 0xffffffff80d838a3 at ip6_input+0xcc3
#8 0xffffffff80ca72dd at netisr_dispatch_src+0xad
#9 0xffffffff80c88e6a at ether_demux+0x17a
#10 0xffffffff80c8a492 at ether_nh_input+0x392
#11 0xffffffff80ca72dd at netisr_dispatch_src+0xad
#12 0xffffffff80c892b9 at ether_input+0xd9
#13 0xffffffff8097ba03 at vtnet_rxq_eof+0x7c3
#14 0xffffffff8097b19a at vtnet_rx_vq_process+0x9a
#15 0xffffffff80b0c286 at ithread_loop+0x276
#16 0xffffffff80b08730 at fork_exit+0x80
#17 0xffffffff81020d8e at fork_trampoline+0xe


lock order reversal:
  1st 0xfffffe00014d3a10 tcphash (tcphash, sleep mutex) @ /usr/src/sys/netinet/tcp_usrreq.c:1512
  2nd 0xffffffff81a4e9c0 in6_ifaddr_lock (in6_ifaddr_lock, rm) @ /usr/src/sys/netinet6/in6_src.c:305
lock order tcphash -> in6_ifaddr_lock attempted at:
#0 0xffffffff80bc44e3 at witness_checkorder+0xbb3
#1 0xffffffff80b4b11f at _rm_rlock_debug+0x12f
#2 0xffffffff80d8011f at in6_selectsrc+0x44f
#3 0xffffffff80d7fc80 at in6_selectsrc_socket+0x40
#4 0xffffffff80d7dbc7 at in6_pcbconnect+0x247
#5 0xffffffff80d61b33 at tcp6_connect+0xa3
#6 0xffffffff80d5f4e4 at tcp6_usr_connect+0x304
#7 0xffffffff80c009af at soconnectat+0xaf
#8 0xffffffff80c07aa1 at kern_connectat+0xe1
#9 0xffffffff80c07995 at sys_connect+0x75
#10 0xffffffff8104d6c0 at amd64_syscall+0x140
#11 0xffffffff8102063b 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?8qqrn586-7r8r-1652-8r8q-qpnn9sn47qrr>