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

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 08, 2017 at 04:22:33PM +0300, Andrey V. Elsukov wrote:
A> On 04.01.2017 22:07, Navdeep Parhar wrote:
A> > What source line in releng-11 does ifioctl+0x6dd correspond to?
A> >
A> > (kgdb) l *(ifioctl+0x6dd)
A> >
A> > This might be race where the ifnet is being created or coming up and
A> > zebra pokes it in some way before it's fully ready.  If that's the
A> > case it could affect any ifnet.
A> 
A> Hi,
A> 
A> from a quick look, it seems that ifnet becomes available for any actions 
A> just after if_alloc() and any strange things can happen in a window 
A> after if_alloc() and before if_attach(). Am I right?

I believe so. That's why in projects/ifnet an interface will be
attached by just if_alloc().

-- 
Totus tuus, Glebius.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170108175219.GW1647>