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:
parent
d375c5c34e
commit
e3b3cc4977
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user