ixv(4): Stop setting editing ifnet flags in ixv_if_init()

In iflib, the device-specific init() function isn't supposed to edit
the struct ifnet driver flags. If it does, it'll cause an MPASS() assert
in iflib to fail.

PR:		225312
Reported by:	bhughes@
This commit is contained in:
Eric Joyner 2018-01-22 20:56:21 +00:00
parent 279e33d489
commit 2149fa3ec8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=328265

View File

@ -662,10 +662,6 @@ ixv_if_init(if_ctx_t ctx)
/* And now turn on interrupts */
ixv_if_enable_intr(ctx);
/* Now inform the stack we're ready */
ifp->if_drv_flags |= IFF_DRV_RUNNING;
ifp->if_drv_flags &= ~IFF_DRV_OACTIVE;
return;
} /* ixv_if_init */