From owner-svn-src-all@FreeBSD.ORG Mon Apr 20 22:41:19 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE9AB106564A; Mon, 20 Apr 2009 22:41:19 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9CFC88FC1E; Mon, 20 Apr 2009 22:41:19 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n3KMfJ9P060146; Mon, 20 Apr 2009 22:41:19 GMT (envelope-from rwatson@svn.freebsd.org) Received: (from rwatson@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n3KMfJp1060145; Mon, 20 Apr 2009 22:41:19 GMT (envelope-from rwatson@svn.freebsd.org) Message-Id: <200904202241.n3KMfJp1060145@svn.freebsd.org> From: Robert Watson Date: Mon, 20 Apr 2009 22:41:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r191339 - head/sys/net X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Apr 2009 22:41:20 -0000 Author: rwatson Date: Mon Apr 20 22:41:19 2009 New Revision: 191339 URL: http://svn.freebsd.org/changeset/base/191339 Log: Prefer ifa_link (structure field) to ifa_list (macro alias for it). MFC after: 2 weeks Modified: head/sys/net/if_stf.c Modified: head/sys/net/if_stf.c ============================================================================== --- head/sys/net/if_stf.c Mon Apr 20 22:40:44 2009 (r191338) +++ head/sys/net/if_stf.c Mon Apr 20 22:41:19 2009 (r191339) @@ -383,7 +383,7 @@ stf_getsrcifa6(ifp) struct in_addr in; IF_ADDR_LOCK(ifp); - TAILQ_FOREACH(ia, &ifp->if_addrhead, ifa_list) { + TAILQ_FOREACH(ia, &ifp->if_addrhead, ifa_link) { if (ia->ifa_addr->sa_family != AF_INET6) continue; sin6 = (struct sockaddr_in6 *)ia->ifa_addr;