summaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2015-02-07 02:53:05 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2015-02-07 02:53:05 +0000
commitfda6fd84250933c1b8774e841090db182a6d9fd3 (patch)
tree2e0cde8057ee662c8abf74488f29a879173026de /share/man/man9
parent67ac8ea485a60b846ff616e325c28f00d28e3d45 (diff)
mq_enlist can drop mbufs now.
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/mbuf.99
1 files changed, 4 insertions, 5 deletions
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9
index 836adecd5d7..93fb3ff4b74 100644
--- a/share/man/man9/mbuf.9
+++ b/share/man/man9/mbuf.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mbuf.9,v 1.80 2015/02/07 02:30:28 dlg Exp $
+.\" $OpenBSD: mbuf.9,v 1.81 2015/02/07 02:53:04 dlg Exp $
.\"
.\" Copyright (c) 2001 Jean-Jacques Bernard-Gundol <jjbg@openbsd.org>
.\" All rights reserved.
@@ -875,8 +875,7 @@ Enqueue all the mbufs on the
mbuf list on to the end of the
.Fa mq
mbuf queue.
-Note, if the number of mbufs placed on the queue exceeds its maximum length,
-the extra mbufs are NOT freed as they are with
+Note, the number of mbufs placed on the queue may exceed its maximum length.
.Fn mq_enqueue .
.It Fn "mq_delist" "struct mbuf_queue *mq" "struct mbuf_list *ml"
Dequeue all the mbufs on the
@@ -996,8 +995,8 @@ mbuf was freed because it would cause the queue to exceed its maximum
length.
.Pp
.Fn mq_enlist
-returns 0 if the new length of the queue after adding the list is less than
-the queue's maximum length, otherwise non-zero.
+returns the number of mbufs that were dropped from the list if the
+length of the queue exceeded its maximum length.
.Pp
.Fn mq_drops
returns the number of mbufs that were freed during