In article <201407151034.54681....@freebsd.org>, j...@freebsd.org writes:

>Hmm, I am surprised by the m_pullup() behavior that it doesn't just
>notice that the first mbuf with a cluster has the desired data already
>and returns without doing anything.

The specification of m_pullup() is that it returns a *writable* mbuf
(and thus also that the "length" provided is less than MHLEN).
Clusters are read-only.

-GAWollman

_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to