OpenBSD cvs log

created 2024-09-28T19:38:22Z
begin 2024-09-22T00:00:00Z
end 2024-09-23T00:00:00Z
path src/sys
commits 1

date 2024-09-22T08:40:37Z
author claudio
files src/sys/kern/uipc_usrreq.c log diff annotate
message Increase the default buffer size for AF_UNIX from 8192 to 32768.

Using 8k for socketpairs was always on the low end side. Also this
avoid a fatal error in sshd that can be triggered when the network
stack is pushed hard enough to consume most of the allowed memory.
By increasing the default buffer size a bit the error in sshd is
avoided which is good enough for now.

Long term a better solution for sonewconn() and especially sbchecklowmem()
needs to be found. m_pool_used() returns not the right information for
them.

OK deraadt@ otto@