Use assignment instead of bcopy.

Submitted by:	jmg
This commit is contained in:
Gleb Smirnoff 2014-07-18 14:59:35 +00:00
parent 42e62eca52
commit c71b4037ff

View File

@ -377,7 +377,7 @@ mb_dupcl(struct mbuf *n, struct mbuf *m)
atomic_add_int(m->m_ext.ext_cnt, 1);
}
bcopy(&m->m_ext, &n->m_ext, sizeof(m->m_ext));
n->m_ext = m->m_ext;
n->m_flags |= M_EXT;
n->m_flags |= m->m_flags & M_RDONLY;
}