Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 2015 13:38:46 +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-9@freebsd.org
Subject:   svn commit: r291203 - stable/9/sys/dev/ti
Message-ID:  <201511231338.tANDckSJ077225@repo.freebsd.org>

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



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