1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00

Honor IFF_DRV_OACTIVE in em_start_locked().

This commit is contained in:
Pyun YongHyeon 2006-07-20 03:57:58 +00:00
parent 7cf6a457ea
commit fa799a4e7e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160517

View File

@ -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;