MFC r284722 and r284724:

Fix endless recursion in ti(4)'s ti_ifmedia_upd(), found by clang 3.7.0.
This commit is contained in:
hselasky 2015-11-23 13:36:41 +00:00
parent d375c5c34e
commit e3b3cc4977

View File

@ -3335,7 +3335,7 @@ ti_ifmedia_upd(struct ifnet *ifp)
sc = ifp->if_softc;
TI_LOCK(sc);
error = ti_ifmedia_upd(ifp);
error = ti_ifmedia_upd_locked(sc);
TI_UNLOCK(sc);
return (error);