From owner-freebsd-stable@FreeBSD.ORG Sat Apr 15 17:20:13 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 471C816A404 for ; Sat, 15 Apr 2006 17:20:13 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFC5443D55 for ; Sat, 15 Apr 2006 17:20:10 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 40A2520010D; Sat, 15 Apr 2006 19:20:08 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id 66F98200108; Sat, 15 Apr 2006 19:20:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 31836444F41; Sat, 15 Apr 2006 17:17:49 +0000 (UTC) Date: Sat, 15 Apr 2006 17:17:49 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Ulrich Spoerlein In-Reply-To: <20060415100434.GC991@roadrunner.aventurien.local> Message-ID: <20060415171719.D13011@maildrop.int.zabbadoz.net> References: <20060415100434.GC991@roadrunner.aventurien.local> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Cc: stable@freebsd.org Subject: Re: [LOR] udpinp X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Apr 2006 17:20:13 -0000 On Sat, 15 Apr 2006, Ulrich Spoerlein wrote: > Hello everyone, > > catched this LOR on 6.1-PRERELEASE while fiddling with an ural0 device > and configureing an inet address (me thinks, can't recall right now). > > lock order reversal: (Giant after non-sleepable) > 1st 0xc5091dec inp (udpinp) @ /usr/src/sys/netinet/ip_output.c:1620 > 2nd 0xc07502c0 Giant (Giant) @ /usr/src/sys/netinet/in.c:970 > KDB: stack backtrace: > kdb_backtrace(0,ffffffff,c075f218,c075f588,c0724364) at kdb_backtrace+0x29 > witness_checkorder(c07502c0,9,c06e4e61,3ca) at witness_checkorder+0x578 > _mtx_lock_flags(c07502c0,0,c06e4e61,3ca) at _mtx_lock_flags+0x5b > in_addmulti(ef4cdbcc,c4f01c00,0,c4f01c00,fb0000e0) at in_addmulti+0x2b > ip_setmoptions(c5091d5c,ef4cdc90,c06de1d5,ef4cdc54,0) at ip_setmoptions+0x498 > ip_ctloutput(c59abde8,ef4cdc90,c4fc9d2c,0,c06de1d5) at ip_ctloutput+0x3db > sosetopt(c59abde8,ef4cdc90,c5add0d8,1,0) at sosetopt+0x2c > kern_setsockopt(c5992600,4,0,c,bfbfebb0) at kern_setsockopt+0xb5 > setsockopt(c5992600,ef4cdd04,5,10,296) at setsockopt+0x1e > syscall(3b,3b,3b,4807e340,bfbfeecc) at syscall+0x22f > Xint0x80_syscall() at Xint0x80_syscall+0x1f added with LOR ID #183 to "the LOR page": http://sources.zabbadoz.net/freebsd/lor.html#183 -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT