Date: Mon, 7 Jan 2008 21:14:37 GMT From: Steve Wise <swise@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 132738 for review Message-ID: <200801072114.m07LEbVO042079@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132738 Change 132738 by swise@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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801072114.m07LEbVO042079>