aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorBosko Milekic <bmilekic@FreeBSD.org>2000-11-11 23:05:59 +0000
committerBosko Milekic <bmilekic@FreeBSD.org>2000-11-11 23:05:59 +0000
commit0a1df235bab6629606fbc9e5bb1e34c720c1ffa1 (patch)
treedfbaefbc1ecbb785270620153c263363131876e2 /sys/netinet
parente778918123db8c36aac6665f0b7ecd62371ca87c (diff)
Notes
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_fil.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/netinet/ip_fil.c b/sys/netinet/ip_fil.c
index 797e599bc93c..ff80058e206c 100644
--- a/sys/netinet/ip_fil.c
+++ b/sys/netinet/ip_fil.c
@@ -1162,7 +1162,7 @@ int dst;
m->m_len = 0;
avail = M_TRAILINGSPACE(m);
# else
- avail = (m->m_flags & M_EXT) ? MCLBYTES : MHLEN;
+ avail = MCLBYTES;
# endif
xtra = MIN(ntohs(oip6->ip6_plen) + sizeof(ip6_t),
avail - hlen - sizeof(*icmp) - max_linkhdr);
@@ -1382,11 +1382,7 @@ frdest_t *fdp;
# if BSD >= 199306
int i = 0;
-# ifdef MCLISREFERENCED
- if ((m->m_flags & M_EXT) && MCLISREFERENCED(m))
-# else
- if (m->m_flags & M_EXT)
-# endif
+ if ((m->m_flags & M_EXT) && MEXT_IS_REF(m))
i = 1;
# endif
# ifndef sparc