diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2018-11-09 14:14:33 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2018-11-09 14:14:33 +0000 |
commit | d88cc6469042c405baedcb17b7058f99c72287c2 (patch) | |
tree | f562b108426adf6be5f524205424d1883bbb4cc5 /sys/netinet6/ip6_input.c | |
parent | 1d8b1ac67aa3da258b770c8cbe93971237189152 (diff) |
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/netinet6/ip6_input.c')
-rw-r--r-- | sys/netinet6/ip6_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c index 527a8f70298..310e53b4257 100644 --- a/sys/netinet6/ip6_input.c +++ b/sys/netinet6/ip6_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6_input.c,v 1.215 2018/05/21 15:52:22 bluhm Exp $ */ +/* $OpenBSD: ip6_input.c,v 1.216 2018/11/09 14:14:32 claudio Exp $ */ /* $KAME: ip6_input.c,v 1.188 2001/03/29 05:34:31 itojun Exp $ */ /* @@ -1180,7 +1180,7 @@ ip6_pullexthdr(struct mbuf *m, size_t off, int nxt) return NULL; n->m_len = 0; - if (elen >= M_TRAILINGSPACE(n)) { + if (elen >= m_trailingspace(n)) { m_free(n); return NULL; } |