summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2009-08-09 11:40:56 +0000
committerderaadt <deraadt@openbsd.org>2009-08-09 11:40:56 +0000
commit415ac77a3a2772736744faf2d84ece851590666b (patch)
tree059f756f4314ab891c239f074b6c70dd4668a948 /share/man
parentInitialize all the InputFieldData members correctly. Fixes a crash when (diff)
downloadwireguard-openbsd-415ac77a3a2772736744faf2d84ece851590666b.tar.xz
wireguard-openbsd-415ac77a3a2772736744faf2d84ece851590666b.zip
MCLGETI() will now allocate a mbuf header if it is not provided, thus
reducing the amount of splnet/splx dancing required.. especially in the worst case (of m_cldrop) ok dlg kettenis damien
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/mbuf.95
1 files changed, 3 insertions, 2 deletions
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9
index 8b24883cd1f..ca2c7b6e682 100644
--- a/share/man/man9/mbuf.9
+++ b/share/man/man9/mbuf.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mbuf.9,v 1.43 2009/03/02 23:37:08 blambert Exp $
+.\" $OpenBSD: mbuf.9,v 1.44 2009/08/09 11:40:58 deraadt Exp $
.\"
.\" Copyright (c) 2001 Jean-Jacques Bernard-Gundol <jjbg@openbsd.org>
.\" All rights reserved.
@@ -25,7 +25,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 2 2009 $
+.Dd $Mdocdate: August 9 2009 $
.Dt MBUF 9
.Os
.Sh NAME
@@ -84,6 +84,7 @@
.Fn m_apply "struct mbuf *m" "int off" "int len" \
"int (*func)(caddr_t, caddr_t, unsigned int)" "caddr_t fstate"
.Fn MCLGET "struct mbuf *m" "int how"
+.Ft struct mbuf *
.Fn MCLGETI "struct mbuf *m" "int how" "struct ifnet *ifp" "int len"
.Fn MEXTADD "struct mbuf *m" "caddr_t buf" "u_int size" "int type" \
"void (*free)(caddr_t, u_int, void *)" "void *arg"