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/tcp_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/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; |
