diff options
author | Niels Provos <provos@cvs.openbsd.org> | 2001-05-17 18:41:51 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 2001-05-17 18:41:51 +0000 |
commit | bff2b5c93dc47bb0d17d1480618ead119fc3a4c0 (patch) | |
tree | a86b2f3d063adb61db0fb67479d25ee1e6437a6a /sys/netinet/ip_ah.c | |
parent | af8da448cf644f7e1e008d634771b23915ab7402 (diff) |
convert mbuf and cluster allocation to pool, mostly from NetBSD
okay art@ miod@
Diffstat (limited to 'sys/netinet/ip_ah.c')
-rw-r--r-- | sys/netinet/ip_ah.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/netinet/ip_ah.c b/sys/netinet/ip_ah.c index e03f422a67b..bc2ca954399 100644 --- a/sys/netinet/ip_ah.c +++ b/sys/netinet/ip_ah.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ah.c,v 1.52 2001/05/13 15:39:27 deraadt Exp $ */ +/* $OpenBSD: ip_ah.c,v 1.53 2001/05/17 18:41:46 provos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -967,9 +967,7 @@ ah_output(struct mbuf *m, struct tdb *tdb, struct mbuf **mp, int skip, */ mi = m; while (mi != NULL && - (!(mi->m_flags & M_EXT) || - (mi->m_ext.ext_ref == NULL && - mclrefcnt[mtocl(mi->m_ext.ext_buf)] <= 1))) + (!(mi->m_flags & M_EXT) || !MCLISREFERENCED(mi))) { mo = mi; mi = mi->m_next; |