Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jan 2017 16:22:33 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Navdeep Parhar <nparhar@gmail.com>, Mike Tancsa <mike@sentex.net>
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>, Gleb Smirnoff <glebius@freebsd.org>
Subject:   Re: coredump when loading cxgb after boot with routing daemon already running (RELENG11)
Message-ID:  <5cefdc60-2131-1eab-32fe-74212c93cc59@yandex.ru>
In-Reply-To: <CAPFoGT_24WC6UNyoiCmDOJqzMGJ=rn=CiMczFi=%2BQBA8-uBcaw@mail.gmail.com>
References:  <b2aa73a9-63b5-36c6-f8fa-a5a17f9f3073@sentex.net> <CAPFoGT_24WC6UNyoiCmDOJqzMGJ=rn=CiMczFi=%2BQBA8-uBcaw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5cefdc60-2131-1eab-32fe-74212c93cc59>