Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 2015 13:36:42 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r291202 - stable/10/sys/dev/ti
Message-ID:  <201511231336.tANDagwD077106@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511231336.tANDagwD077106>