svn commit: r284722 - head/sys/dev/ti
Dimitry Andric
dim at FreeBSD.org
Tue Jun 23 06:48:03 UTC 2015
Author: dim
Date: Tue Jun 23 06:48:02 2015
New Revision: 284722
URL: https://svnweb.freebsd.org/changeset/base/284722
Log:
Fix endless recursion in ti(4)'s ti_ifmedia_upd(), found by clang 3.7.0.
Modified:
head/sys/dev/ti/if_ti.c
Modified: head/sys/dev/ti/if_ti.c
==============================================================================
--- head/sys/dev/ti/if_ti.c Tue Jun 23 06:42:30 2015 (r284721)
+++ head/sys/dev/ti/if_ti.c Tue Jun 23 06:48:02 2015 (r284722)
@@ -3350,7 +3350,7 @@ ti_ifmedia_upd(struct ifnet *ifp)
sc = ifp->if_softc;
TI_LOCK(sc);
- error = ti_ifmedia_upd(ifp);
+ error = ti_ifmedia_upd_locked(ifp);
TI_UNLOCK(sc);
return (error);
More information about the svn-src-head
mailing list