summaryrefslogtreecommitdiffstats
path: root/sys/dev/ti
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2015-11-23 13:36:41 +0000
committerhselasky <hselasky@FreeBSD.org>2015-11-23 13:36:41 +0000
commite3b3cc4977c256ce09836393104ab170e8f966c1 (patch)
tree210d345c54c8c6f0b70b69a812f52287ffa5efff /sys/dev/ti
parentd375c5c34e4b7ea1266698177621d5ddcdcc5827 (diff)
downloadFreeBSD-src-e3b3cc4977c256ce09836393104ab170e8f966c1.zip
FreeBSD-src-e3b3cc4977c256ce09836393104ab170e8f966c1.tar.gz
MFC r284722 and r284724:
Fix endless recursion in ti(4)'s ti_ifmedia_upd(), found by clang 3.7.0.
Diffstat (limited to 'sys/dev/ti')
-rw-r--r--sys/dev/ti/if_ti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c
index 36cf047..6485858 100644
--- a/sys/dev/ti/if_ti.c
+++ b/sys/dev/ti/if_ti.c
@@ -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);
OpenPOWER on IntegriCloud