Date: Tue, 29 Jul 2025 03:41:16 GMT From: Kevin Bowling <kbowling@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 99979f0eeb93 - stable/14 - setsockopt.2: Clarify SO_SPLICE action Message-ID: <202507290341.56T3fG8B084852@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=99979f0eeb9381685c8b4601623a109235341016 commit 99979f0eeb9381685c8b4601623a109235341016 Author: Kevin Bowling <kbowling@FreeBSD.org> AuthorDate: 2024-11-25 18:32:35 +0000 Commit: Kevin Bowling <kbowling@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 <markj@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202507290341.56T3fG8B084852>