Replace ovbcopy() with bcopy().
This commit is contained in:
parent
212059bd83
commit
2aebee88f3
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user