From owner-svn-src-head@FreeBSD.ORG Thu Jul 17 05:21:17 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4237F97D; Thu, 17 Jul 2014 05:21:17 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3082D2BFB; Thu, 17 Jul 2014 05:21:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6H5LHHb042652; Thu, 17 Jul 2014 05:21:17 GMT (envelope-from kevlo@svn.freebsd.org) Received: (from kevlo@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6H5LGbx042649; Thu, 17 Jul 2014 05:21:16 GMT (envelope-from kevlo@svn.freebsd.org) Message-Id: <201407170521.s6H5LGbx042649@svn.freebsd.org> From: Kevin Lo Date: Thu, 17 Jul 2014 05:21:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268787 - in head/sys: kern net X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 05:21:17 -0000 Author: kevlo Date: Thu Jul 17 05:21:16 2014 New Revision: 268787 URL: http://svnweb.freebsd.org/changeset/base/268787 Log: Deprecate m_act. Use m_nextpkt always. Modified: head/sys/kern/uipc_usrreq.c head/sys/net/if.c head/sys/net/if_spppsubr.c Modified: head/sys/kern/uipc_usrreq.c ============================================================================== --- head/sys/kern/uipc_usrreq.c Thu Jul 17 05:20:18 2014 (r268786) +++ head/sys/kern/uipc_usrreq.c Thu Jul 17 05:21:16 2014 (r268787) @@ -2348,7 +2348,7 @@ unp_scan(struct mbuf *m0, void (*op)(str } } } - m0 = m0->m_act; + m0 = m0->m_nextpkt; } } Modified: head/sys/net/if.c ============================================================================== --- head/sys/net/if.c Thu Jul 17 05:20:18 2014 (r268786) +++ head/sys/net/if.c Thu Jul 17 05:21:16 2014 (r268787) @@ -2087,7 +2087,7 @@ if_qflush(struct ifnet *ifp) #endif n = ifq->ifq_head; while ((m = n) != 0) { - n = m->m_act; + n = m->m_nextpkt; m_freem(m); } ifq->ifq_head = 0; Modified: head/sys/net/if_spppsubr.c ============================================================================== --- head/sys/net/if_spppsubr.c Thu Jul 17 05:20:18 2014 (r268786) +++ head/sys/net/if_spppsubr.c Thu Jul 17 05:21:16 2014 (r268787) @@ -4753,7 +4753,7 @@ sppp_qflush(struct ifqueue *ifq) n = ifq->ifq_head; while ((m = n)) { - n = m->m_act; + n = m->m_nextpkt; m_freem (m); } ifq->ifq_head = 0;