mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
Honor IFF_DRV_OACTIVE in em_start_locked().
This commit is contained in:
parent
7cf6a457ea
commit
fa799a4e7e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160517
@ -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 New Issue
Block a user