diff options
author | 2015-06-30 15:30:17 +0000 | |
---|---|---|
committer | 2015-06-30 15:30:17 +0000 | |
commit | 8990c937a609129c385a209e32d8f7097c194f7a (patch) | |
tree | e69a1b7812f76f61e4a444f8aebb0ddcbc2e42f2 /sys/netinet/ip_output.c | |
parent | Rename if_output() into if_enqueue() to avoid confusion with comments (diff) | |
download | wireguard-openbsd-8990c937a609129c385a209e32d8f7097c194f7a.tar.xz wireguard-openbsd-8990c937a609129c385a209e32d8f7097c194f7a.zip |
Get rid of the undocumented & temporary* m_copy() macro added for
compatibility with 4.3BSD in September 1989.
*Pick your own definition for "temporary".
ok bluhm@, claudio@, dlg@
Diffstat (limited to 'sys/netinet/ip_output.c')
-rw-r--r-- | sys/netinet/ip_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index b3d15f5973f..68c6b353dba 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_output.c,v 1.283 2015/06/16 11:09:40 mpi Exp $ */ +/* $OpenBSD: ip_output.c,v 1.284 2015/06/30 15:30:17 mpi Exp $ */ /* $NetBSD: ip_output.c,v 1.28 1996/02/13 23:43:07 christos Exp $ */ /* @@ -762,7 +762,7 @@ ip_fragment(struct mbuf *m, struct ifnet *ifp, u_long mtu) else mhip->ip_off |= IP_MF; mhip->ip_len = htons((u_int16_t)(len + mhlen)); - m->m_next = m_copy(m0, off, len); + m->m_next = m_copym(m0, off, len, M_NOWAIT); if (m->m_next == 0) { ipstat.ips_odropped++; error = ENOBUFS; |