Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 2016 13:28:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 206494] lock order reversal (sleepable after non-sleepable) in in_mcast.c/bxe.c
Message-ID:  <bug-206494-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206494

            Bug ID: 206494
           Summary: lock order reversal (sleepable after non-sleepable) in
                    in_mcast.c/bxe.c
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: olivier@cochard.me

lock order reversal: (sleepable after non-sleepable)
 1st 0xffffffff81cf6388 in_multi_mtx (in_multi_mtx) @
/usr/src/sys/netinet/in_mcast.c:1146
 2nd 0xfffffe00025225a0 bxe3_core_lock (bxe3_core_lock) @
/usr/src/sys/dev/bxe/bxe.c:4890
stack backtrace:
#0 0xffffffff80a7a6d0 at witness_debugger+0x70
#1 0xffffffff80a7a5d1 at witness_checkorder+0xe71
#2 0xffffffff80a27bb2 at _sx_xlock+0x72
#3 0xffffffff80eb1bc5 at bxe_ioctl+0x85
#4 0xffffffff80afebd3 at if_addmulti+0x253
#5 0xffffffff80b62746 at in_joingroup_locked+0x116
#6 0xffffffff80b62602 at in_joingroup+0x42
#7 0xffffffff80b5f5f7 at in_control+0x9e7
#8 0xffffffff80afde99 at ifioctl+0xf39
#9 0xffffffff80a7fbf0 at kern_ioctl+0x230
#10 0xffffffff80a7f94e at sys_ioctl+0x17e
#11 0xffffffff80e6c15b at amd64_syscall+0x2db
#12 0xffffffff80e4b40b at Xfast_syscall+0xfb

root@lame6:~ # uname -a
FreeBSD lame6.bsdrp.net 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r293801: Wed J=
an
13 07:14:44 UTC 2016=20=20=20=20
root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

root@lame6:~ # pciconf -lcvb
(...)
bxe3@pci0:3:0:1:        class=3D0x020000 card=3D0x100714e4 chip=3D0x168e14e=
4 rev=3D0x10
hdr=3D0x00
    vendor     =3D 'Broadcom Corporation'
    device     =3D 'NetXtreme II BCM57810 10 Gigabit Ethernet'
    class      =3D network

Just had to configure IPv4 on the interface for triggering this LoR.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206494-8>