mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
Honor IFF_DRV_OACTIVE in em_start_locked().
This commit is contained in:
parent
7cf6a457ea
commit
fa799a4e7e
1 changed files with 3 additions and 0 deletions
|
|
@ -692,6 +692,9 @@ em_start_locked(struct ifnet *ifp)
|
|||
|
||||
EM_LOCK_ASSERT(sc);
|
||||
|
||||
if ((ifp->if_drv_flags & (IFF_DRV_RUNNING|IFF_DRV_OACTIVE)) !=
|
||||
IFF_DRV_RUNNING)
|
||||
return;
|
||||
if (!sc->link_active)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue