Use assignment instead of bcopy.

Submitted by:	jmg
This commit is contained in:
glebius 2014-07-18 14:59:35 +00:00
parent 2592b8802e
commit e83173324b

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;
}