The branch stable/14 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=99979f0eeb9381685c8b4601623a109235341016
commit 99979f0eeb9381685c8b4601623a109235341016 Author: Kevin Bowling <kbowl...@freebsd.org> AuthorDate: 2024-11-25 18:32:35 +0000 Commit: Kevin Bowling <kbowl...@freebsd.org> CommitDate: 2025-07-29 03:39:47 +0000 setsockopt.2: Clarify SO_SPLICE action Reviewed by: gallatin, markj Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D47720 Co-authored-by: Mark Johnston <ma...@freebsd.org> (cherry picked from commit c1e304c60c46a26af57f9638c53417dd6cffa9fe) --- lib/libc/sys/getsockopt.2 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2 index c738a152d859..f36a9fe7baf8 100644 --- a/lib/libc/sys/getsockopt.2 +++ b/lib/libc/sys/getsockopt.2 @@ -570,9 +570,14 @@ struct so_splice { .Pp Data received on .Fa s -will automatically be transmitted from the socket specified in +will automatically be transmitted via the socket specified in .Fa sp_fd without any intervention by userspace. +That is, the data will be transmitted via +.Fa sp_fd +as if userspace had called +.Xr send 2 +directly. Splicing is a one-way operation; a given pair of sockets may be spliced in one or both directions. Currently only connected