Date: Tue, 23 Jun 2015 06:48:03 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r284722 - head/sys/dev/ti Message-ID: <201506230648.t5N6m3d0034646@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506230648.t5N6m3d0034646>