Replace ovbcopy() with bcopy().
This commit is contained in:
parent
212059bd83
commit
2aebee88f3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113075
@ -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…
Reference in New Issue
Block a user