From owner-freebsd-net@FreeBSD.ORG Mon Aug 23 11:50:07 2010 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 B7F751065674 for ; Mon, 23 Aug 2010 11:50:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id 701588FC0A for ; Mon, 23 Aug 2010 11:50:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id C7E5141C66F; Mon, 23 Aug 2010 13:50:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id zDJeQnDf9I4j; Mon, 23 Aug 2010 13:50:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id D0BC241C67E; Mon, 23 Aug 2010 13:50: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 5FA564448F3; Mon, 23 Aug 2010 11:48:05 +0000 (UTC) Date: Mon, 23 Aug 2010 11:48:05 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Nima Misaghian In-Reply-To: Message-ID: <20100823114701.P48418@maildrop.int.zabbadoz.net> References: , <20100820000453.H48418@maildrop.int.zabbadoz.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-net@freebsd.org Subject: RE: Kernel panic from interface address list manipulation 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: Mon, 23 Aug 2010 11:50:07 -0000 On Fri, 20 Aug 2010, Nima Misaghian wrote: > >> Hey, >> >>> I've been able to trivially >>> trigger a kernel panic while testing ifaddr list manipulation on -CURRENT (r >>> 211427). The hardware is a four-core i386 >>> machine with em interfaces. >> >> The diff should give you an idea of what's going wrong. I am not sure >> if I would want to actually commit it as-is. >> >> http://people.freebsd.org/~bz/20100819-01-in_control.diff >> > > I could not reproduce the panic after applying the patch. > Thanks for taking the time to look into this issue and fixing it. FYI: there seems to be another race issue with in_ifinit() that I find when running a script similar to yours for long enough. I'll try to have a look. /bz -- Bjoern A. Zeeb This signature is about you not me.