Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2008 05:44:08 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r185509 - head/sys/dev/cxgb/sys
Message-ID:  <200812010544.mB15i8ku013872@svn.freebsd.org>

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



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