summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLawrence Teo <lteo@cvs.openbsd.org>2016-12-01 03:11:05 +0000
committerLawrence Teo <lteo@cvs.openbsd.org>2016-12-01 03:11:05 +0000
commita62cfdb57a9354531590f5c921f5a649b2fa40fc (patch)
treef1eaadc2fbcd743d2d9e9a651f1b552a5bcd7894
parent92ccf7b4258b5797e7c4007278432e7a454c37f9 (diff)
Update comments in struct mbuf_ext to reflect the replacement of ext_free by
ext_free_fn. ok tedu@
-rw-r--r--sys/sys/mbuf.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index eb7200a560b..6867aa8380d 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbuf.h,v 1.222 2016/10/24 04:38:44 dlg Exp $ */
+/* $OpenBSD: mbuf.h,v 1.223 2016/12/01 03:11:04 lteo Exp $ */
/* $NetBSD: mbuf.h,v 1.19 1996/02/09 18:25:14 christos Exp $ */
/*
@@ -136,10 +136,9 @@ struct pkthdr {
/* description of external storage mapped into mbuf, valid if M_EXT set */
struct mbuf_ext {
caddr_t ext_buf; /* start of buffer */
- /* free routine if not the usual */
void *ext_arg;
- u_int ext_free_fn;
- u_int ext_size; /* size of buffer, for ext_free */
+ u_int ext_free_fn; /* index of free function */
+ u_int ext_size; /* size of buffer, for ext_free_fn */
struct mbuf *ext_nextref;
struct mbuf *ext_prevref;
#ifdef DEBUG