summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_output.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2018-11-09 14:14:31 +0000
committerclaudio <claudio@openbsd.org>2018-11-09 14:14:31 +0000
commitb5b7f62e3c22c1e16592be047f41a6fe57ed854d (patch)
treec9886fed2209e77dd03815134c6203e89078ae3d /sys/netinet/tcp_output.c
parentRemove the last few XXX rdomain markers. Even those functions respect the (diff)
downloadwireguard-openbsd-b5b7f62e3c22c1e16592be047f41a6fe57ed854d.tar.xz
wireguard-openbsd-b5b7f62e3c22c1e16592be047f41a6fe57ed854d.zip
M_LEADINGSPACE() and M_TRAILINGSPACE() are just wrappers for
m_leadingspace() and m_trailingspace(). Convert all callers to call directly the functions and remove the defines. OK krw@, mpi@
Diffstat (limited to 'sys/netinet/tcp_output.c')
-rw-r--r--sys/netinet/tcp_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
index 0584c0c2060..ea25d06c7e9 100644
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_output.c,v 1.126 2018/09/13 19:53:58 bluhm Exp $ */
+/* $OpenBSD: tcp_output.c,v 1.127 2018/11/09 14:14:31 claudio Exp $ */
/* $NetBSD: tcp_output.c,v 1.16 1997/06/03 16:17:09 kml Exp $ */
/*
@@ -665,7 +665,7 @@ send:
}
m->m_data += max_linkhdr;
m->m_len = hdrlen;
- if (len <= M_TRAILINGSPACE(m)) {
+ if (len <= m_trailingspace(m)) {
m_copydata(so->so_snd.sb_mb, off, (int) len,
mtod(m, caddr_t) + hdrlen);
m->m_len += len;