coredump when loading cxgb after boot with routing daemon already running (RELENG11)
Gleb Smirnoff
glebius at FreeBSD.org
Sun Jan 8 17:52:28 UTC 2017
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.
More information about the freebsd-stable
mailing list