Date: Fri, 19 Jan 2018 21:32:22 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 225312] panic: Assertion if_getdrvflags(ifp) == i failed at /usr/src/sys/net/iflib.c:2201 Message-ID: <bug-225312-2472-WD528vluqx@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-225312-2472@https.bugs.freebsd.org/bugzilla/> References: <bug-225312-2472@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225312 Eric Joyner <erj@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |erj@freebsd.org --- Comment #2 from Eric Joyner <erj@freebsd.org> --- Looking at iflib.c, it appears iflib_init_locked() expects the driver-speci= fic init function to not set any driver flags, but ixv_if_init() in if_ixv.c (t= he function called as IFDI_INIT() in iflib_init_locked()) modifies those flags, which I think causes the MPASS() to fail. So, I think this last bit in ixv_if_init() needs to be removed: /* Now inform the stack we're ready */ ifp->if_drv_flags |=3D IFF_DRV_RUNNING; ifp->if_drv_flags &=3D ~IFF_DRV_OACTIVE; --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225312-2472-WD528vluqx>