From owner-freebsd-stable@freebsd.org Sun Jan 8 13:23:23 2017 Return-Path: Delivered-To: freebsd-stable@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 E115DCA5078 for ; Sun, 8 Jan 2017 13:23:23 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward1j.cmail.yandex.net (forward1j.cmail.yandex.net [5.255.227.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9AA8E1D1A; Sun, 8 Jan 2017 13:23:23 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp2m.mail.yandex.net (smtp2m.mail.yandex.net [77.88.61.129]) by forward1j.cmail.yandex.net (Yandex) with ESMTP id 604252025E; Sun, 8 Jan 2017 16:23:14 +0300 (MSK) Received: from smtp2m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2m.mail.yandex.net (Yandex) with ESMTP id D458A2300BC5; Sun, 8 Jan 2017 16:23:12 +0300 (MSK) Received: by smtp2m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id BUQqpQQ8gN-NBOSbSCG; Sun, 08 Jan 2017 16:23:12 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1483881792; bh=Izm3Zg2kSVBQeRS7XzeO2WQ4gbaAkjAwu7OjGrNX42s=; h=Subject:To:References:Cc:From:Message-ID:Date:In-Reply-To; b=iE6+QHGSgiNHzNmXTd13ww/sfWbZX59Fp7ODEjFL+4KSoFOUMGjeGe2K+b7CiGanS lNz75PtTNOUWQRvqEYbKD3jjCQTkk40Xzc2FL7FDIJCjgnRfwIUjFXkKDmPVXHubbX 1EuSH9VbmkHcz75f24dG9FrmUNguaGgsg2rqS06o= Authentication-Results: smtp2m.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0,1 0,1 0 Subject: Re: coredump when loading cxgb after boot with routing daemon already running (RELENG11) To: Navdeep Parhar , Mike Tancsa References: Cc: FreeBSD-STABLE Mailing List , Gleb Smirnoff From: "Andrey V. Elsukov" Message-ID: <5cefdc60-2131-1eab-32fe-74212c93cc59@yandex.ru> Date: Sun, 8 Jan 2017 16:22:33 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jan 2017 13:23:24 -0000 On 04.01.2017 22:07, Navdeep Parhar wrote: > What source line in releng-11 does ifioctl+0x6dd correspond to? > > (kgdb) l *(ifioctl+0x6dd) > > This might be race where the ifnet is being created or coming up and > zebra pokes it in some way before it's fully ready. If that's the > case it could affect any ifnet. Hi, from a quick look, it seems that ifnet becomes available for any actions just after if_alloc() and any strange things can happen in a window after if_alloc() and before if_attach(). Am I right? -- WBR, Andrey V. Elsukov