svn commit: r291203 - stable/9/sys/dev/ti
Hans Petter Selasky
hselasky at FreeBSD.org
Mon Nov 23 13:38:48 UTC 2015
Author: hselasky
Date: Mon Nov 23 13:38:46 2015
New Revision: 291203
URL: https://svnweb.freebsd.org/changeset/base/291203
Log:
MFC r284722 and r284724:
Fix endless recursion in ti(4)'s ti_ifmedia_upd(), found by clang 3.7.0.
Modified:
stable/9/sys/dev/ti/if_ti.c
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/dev/ (props changed)
Modified: stable/9/sys/dev/ti/if_ti.c
==============================================================================
--- stable/9/sys/dev/ti/if_ti.c Mon Nov 23 13:36:41 2015 (r291202)
+++ stable/9/sys/dev/ti/if_ti.c Mon Nov 23 13:38:46 2015 (r291203)
@@ -3354,7 +3354,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);
More information about the svn-src-stable-9
mailing list