Deleted Added
full compact
34c34
< * $FreeBSD: head/sys/sys/mbuf.h 90227 2002-02-05 02:00:56Z dillon $
---
> * $FreeBSD: head/sys/sys/mbuf.h 97681 2002-05-31 22:09:57Z archie $
346a347,349
> *
> * The M_WRITABLE() is a temporary, conservative safety measure: the burden
> * of checking writability of the mbuf data area rests solely with the caller.
356a360,362
> *
> * The M_WRITABLE() is a temporary, conservative safety measure: the burden
> * of checking writability of the mbuf data area rests solely with the caller.
359,360c365,367
< ((m)->m_flags & M_EXT ? (m)->m_ext.ext_buf + \
< (m)->m_ext.ext_size - ((m)->m_data + (m)->m_len) : \
---
> ((m)->m_flags & M_EXT ? \
> (M_WRITABLE(m) ? (m)->m_ext.ext_buf + (m)->m_ext.ext_size \
> - ((m)->m_data + (m)->m_len) : 0) : \