[Bug 204438] setsockopt() handling of kern.ipc.maxsockbuf limit

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 10 21:41:47 UTC 2015


Allan Jude <allanjude at FreeBSD.org> changed:

           What    |Removed                     |Added
                 CC|                            |allanjude at FreeBSD.org

--- Comment #1 from Allan Jude <allanjude at FreeBSD.org> ---
I have run into this, but never understood why it happened, just worked around

in openssh-portable with HPN enabled, I tried to use '-oTcpRcvBuf=4M' to
increase the socket buffer size to receive large ZFS replication streams more
quickly. Of course, with kern.ipc.maxsockbuf set to 4M, this fails, I have to
use 3.5M or something.

This patch would seem to solve that. Thank you.

The biggest question is, why can't I actually use a sockbuf for 4M?

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list