diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-06-30 15:30:18 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-06-30 15:30:18 +0000 |
commit | ab04cb32d34e855d961263d79cb06308c3dfa79c (patch) | |
tree | 8fcd90d0bfdebab4a5fa0dc6a909e389884db834 /sys/netinet/tcp_output.c | |
parent | 0b812a21998977cef74d01a9fb18550fb3cd4b85 (diff) |
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/tcp_output.c')
-rw-r--r-- | sys/netinet/tcp_output.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index 0c46215d7bd..734403d0c61 100644 --- a/sys/netinet/tcp_output.c +++ b/sys/netinet/tcp_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_output.c,v 1.111 2015/06/16 11:09:40 mpi Exp $ */ +/* $OpenBSD: tcp_output.c,v 1.112 2015/06/30 15:30:17 mpi Exp $ */ /* $NetBSD: tcp_output.c,v 1.16 1997/06/03 16:17:09 kml Exp $ */ /* @@ -724,7 +724,8 @@ send: mtod(m, caddr_t) + hdrlen); m->m_len += len; } else { - m->m_next = m_copy(so->so_snd.sb_mb, off, (int) len); + m->m_next = m_copym(so->so_snd.sb_mb, off, (int) len, + M_NOWAIT); if (m->m_next == 0) { (void) m_free(m); error = ENOBUFS; |