PERFORCE change 132738 for review

Steve Wise swise at FreeBSD.org
Mon Jan 7 13:14:38 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=132738

Change 132738 by swise at swise:vic10:iwarp on 2008/01/07 21:13:55

	mbuf_put() needs to return the next valid position in
	the mbuf.  

Affected files ...

.. //depot/projects/iwarp/sys/sys/linux_compat.h#10 edit

Differences ...

==== //depot/projects/iwarp/sys/sys/linux_compat.h#10 (text+ko) ====

@@ -44,7 +44,7 @@
 static __inline caddr_t
 mbuf_put(struct mbuf *m, unsigned int len)
 {
-	caddr_t tmp = mtod(m, caddr_t);
+	caddr_t tmp = mtod(m, caddr_t) + m->m_len;
 
 	m->m_len += len;
 	if (m->m_flags & M_PKTHDR)


More information about the p4-projects mailing list