From owner-freebsd-net@FreeBSD.ORG Wed Jul 29 16:26:16 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AEF1106566B for ; Wed, 29 Jul 2009 16:26:16 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) by mx1.freebsd.org (Postfix) with ESMTP id 9BA648FC22 for ; Wed, 29 Jul 2009 16:26:15 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [IPv6:2001:df8::16:224:36ff:feef:67d1] (unknown [IPv6:2001:df8:0:16:224:36ff:feef:67d1]) by mail-n.franken.de (Postfix) with ESMTP id 448E41C0B0005; Wed, 29 Jul 2009 18:26:13 +0200 (CEST) Message-Id: <30F5F8DF-111B-4931-8AA3-DDD18B3A5AB9@freebsd.org> From: Michael Tuexen To: FreeBSD net mailing list Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Wed, 29 Jul 2009 18:26:11 +0200 X-Mailer: Apple Mail (2.935.3) Cc: Bruce Simpson Subject: mld_mtx lock order reversal X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2009 16:26:16 -0000 Dear all, when doing a ifconfig gif0 down ifconfig gif0 -tunnel ifconfig gif0 destroy I got a the following message on the last command. Is this a false positive? Best regards Michael --- syscall (304, FreeBSD ELF64, kldload), rip = 0x8006923ac, rsp = 0x7fffffffed38, rbp = 0 --- lock order reversal: 1st 0xffffff0002995bc8 if_afdata (if_afdata) @ net/if.c:830 2nd 0xffffffff80de59c0 mld_mtx (mld_mtx) @ netinet6/mld6.c:570 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a _witness_debugger() at _witness_debugger+0x2e witness_checkorder() at witness_checkorder+0x81e _mtx_lock_flags() at _mtx_lock_flags+0x78 mld_domifdetach() at mld_domifdetach+0x24 in6_domifdetach() at in6_domifdetach+0x11 if_detach() at if_detach+0x6ed gif_clone_destroy() at gif_clone_destroy+0xda ifc_simple_destroy() at ifc_simple_destroy+0x2a if_clone_destroyif() at if_clone_destroyif+0xc0 ifioctl() at ifioctl+0x6f5 kern_ioctl() at kern_ioctl+0xc5 ioctl() at ioctl+0xfd syscall() at syscall+0x1af Xfast_syscall() at Xfast_syscall+0xe1