[Bug 251726] LOR between in6_multi_sx and if_lagg sx

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 10 13:01:30 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251726

            Bug ID: 251726
           Summary: LOR between in6_multi_sx and if_lagg sx
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: gbe at FreeBSD.org

On a very recent -CURRENT build the following LOR is generated on a kya test
run.

kernel: lock order reversal:
1st 0xffff000000ef4cd8 in6_multi_sx (in6_multi_sx, sx) @
/tank/nfs_public/tiny/src/sys/netinet6/i
n6_mcast.c:1184
lagg0: link state changed to DOWN
tap1: link state changed to DOWN
tap0: link state changed to DOWN
2nd 0xffffa000c35e7a28 if_lagg sx (if_lagg sx, sx) @
/tank/nfs_public/tiny/src/sys/net/if_lagg.c:
1678
lock order in6_multi_sx -> if_lagg sx attempted at:
#0 0xffff000000570d90 at witness_checkorder+0xc54
#1 0xffff00000050dc30 at _sx_xlock+0x7c
#2 0xffff0000a1d0ec80 at lagg_ioctl+0xbc
#3 0xffff000000612d80 at if_addmulti+0x3b4
#4 0xffff0000006af094 at in6_joingroup_locked+0x188
#5 0xffff0000006aeedc at in6_joingroup+0x5c
#6 0xffff0000006a6718 at in6_update_ifa+0xe88
#7 0xffff0000006ac608 at in6_ifattach+0x4f4
#8 0xffff0000006a8218 at in6_if_up+0x9c
#9 0xffff0000006c6b84 at nd6_ioctl+0x684
#10 0xffff000000613668 at ifioctl+0x528
#11 0xffff0000005763b8 at kern_ioctl+0x2ec
#12 0xffff000000576080 at sys_ioctl+0x144
#13 0xffff0000008241f4 at do_el0_sync+0x7dc
#14 0xffff000000803a24 at handle_el0_sync+0x90

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list