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; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"