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