]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't block on the socket zone limit during the socket()
authorRuslan Ermilov <ru@FreeBSD.org>
Mon, 26 Feb 2007 10:45:21 +0000 (10:45 +0000)
committerRuslan Ermilov <ru@FreeBSD.org>
Mon, 26 Feb 2007 10:45:21 +0000 (10:45 +0000)
commitfac61393b9ffbca29c4ee9c213a84102c1f7b714
treed898d9ec565518178ef02634f4397e0b72663f21
parente89beb720d5af72fc618ed1c2e44a4a768f49cb7
Don't block on the socket zone limit during the socket()
call which can easily lock up a system otherwise; instead,
return ENOBUFS as documented in a manpage, thus reverting
us to the FreeBSD 4.x behavior.

Reviewed by: rwatson
MFC after: 2 weeks
sys/kern/uipc_socket.c