From owner-svn-src-all@FreeBSD.ORG Mon Dec 1 05:44:08 2008 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 D40DF1065672; Mon, 1 Dec 2008 05:44:08 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C650E8FC12; Mon, 1 Dec 2008 05:44:08 +0000 (UTC) (envelope-from kmacy@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 mB15i8I4013873; Mon, 1 Dec 2008 05:44:08 GMT (envelope-from kmacy@svn.freebsd.org) Received: (from kmacy@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mB15i8ku013872; Mon, 1 Dec 2008 05:44:08 GMT (envelope-from kmacy@svn.freebsd.org) Message-Id: <200812010544.mB15i8ku013872@svn.freebsd.org> From: Kip Macy Date: Mon, 1 Dec 2008 05:44:08 +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: r185509 - head/sys/dev/cxgb/sys 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, 01 Dec 2008 05:44:09 -0000 Author: kmacy Date: Mon Dec 1 05:44:08 2008 New Revision: 185509 URL: http://svn.freebsd.org/changeset/base/185509 Log: null out m_next when marshalling a packet Modified: head/sys/dev/cxgb/sys/uipc_mvec.c Modified: head/sys/dev/cxgb/sys/uipc_mvec.c ============================================================================== --- head/sys/dev/cxgb/sys/uipc_mvec.c Mon Dec 1 05:43:30 2008 (r185508) +++ head/sys/dev/cxgb/sys/uipc_mvec.c Mon Dec 1 05:44:08 2008 (r185509) @@ -293,7 +293,9 @@ retry: /* * is an immediate mbuf or is from the packet zone */ - n = n->m_next; + mhead = n->m_next; + n->m_next = NULL; + n = mhead; } *nsegs = seg_count; *m = m0;