Replace ovbcopy() with bcopy().

This commit is contained in:
Dag-Erling Smørgrav 2003-04-04 12:15:20 +00:00
parent 212059bd83
commit 2aebee88f3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113075

View File

@ -291,9 +291,8 @@ m_makespace(struct mbuf *m0, int skip, int hlen, int *off)
* Copy the remainder to the back of the mbuf
* so there's space to write the new header.
*/
/* XXX can this be memcpy? does it handle overlap? */
ovbcopy(mtod(m, caddr_t) + skip,
mtod(m, caddr_t) + skip + hlen, remain);
bcopy(mtod(m, caddr_t) + skip,
mtod(m, caddr_t) + skip + hlen, remain);
m->m_len += hlen;
*off = skip;
}