From owner-freebsd-bugs@freebsd.org Fri Jan 22 13:28:52 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9DEFEA8D486 for ; Fri, 22 Jan 2016 13:28:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 739BD1F08 for ; Fri, 22 Jan 2016 13:28:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u0MDSqBM092729 for ; Fri, 22 Jan 2016 13:28:52 GMT (envelope-from bugzilla-noreply@freebsd.org) 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 Date: Fri, 22 Jan 2016 13:28:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: olivier@cochard.me X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2016 13:28:52 -0000 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.=