summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2012-10-23 14:25:37 +0000
committerandre <andre@FreeBSD.org>2012-10-23 14:25:37 +0000
commit42d79d42e3fb3046f6fbde1957b75a48c18a5b61 (patch)
tree58f91df126ddd9bf1cea43b852c7d88c75e10648 /share
parentc59c83ebb642fb4ddc42d1b3751f7a3ae9d988d5 (diff)
downloadFreeBSD-src-42d79d42e3fb3046f6fbde1957b75a48c18a5b61.zip
FreeBSD-src-42d79d42e3fb3046f6fbde1957b75a48c18a5b61.tar.gz
Update zero_copy(9) man page to note the renamed kernel options
and to warn about unsafeness of COW based sends.
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/zero_copy.97
1 files changed, 5 insertions, 2 deletions
diff --git a/share/man/man9/zero_copy.9 b/share/man/man9/zero_copy.9
index 50488d3..87d3ba1 100644
--- a/share/man/man9/zero_copy.9
+++ b/share/man/man9/zero_copy.9
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 5, 2004
+.Dd October 23, 2012
.Dt ZERO_COPY 9
.Os
.Sh NAME
@@ -33,7 +33,8 @@
.Nm zero_copy_sockets
.Nd "zero copy sockets code"
.Sh SYNOPSIS
-.Cd "options ZERO_COPY_SOCKETS"
+.Cd "options SOCKET_SEND_COW"
+.Cd "options SOCKET_RECV_PFLIP"
.Sh DESCRIPTION
The
.Fx
@@ -155,6 +156,8 @@ variables respectively.
.Xr sendfile 2 ,
.Xr socket 2 ,
.Xr ti 4
+.Sh BUGS
+The COW based send mechanism is not safe and may result in kernel crashes.
.Sh HISTORY
The zero copy sockets code first appeared in
.Fx 5.0 ,
OpenPOWER on IntegriCloud