Use assignment instead of bcopy.
Submitted by: jmg
This commit is contained in:
parent
2592b8802e
commit
e83173324b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user