summaryrefslogtreecommitdiffstats
path: root/sys/kern/sys_socket.c
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2003-11-11 09:09:26 +0000
committerjkoshy <jkoshy@FreeBSD.org>2003-11-11 09:09:26 +0000
commitac83b0ec2b2285a6a30ba8875aafe4ed4d5fd352 (patch)
tree52b7a53677c3a899636d9bfd5b624d537168d34a /sys/kern/sys_socket.c
parentbf26c6db3dff0843a0a13469213db1071081eacb (diff)
downloadFreeBSD-src-ac83b0ec2b2285a6a30ba8875aafe4ed4d5fd352.zip
FreeBSD-src-ac83b0ec2b2285a6a30ba8875aafe4ed4d5fd352.tar.gz
Bound the number of iterations a thread can perform inside
ktr_resize_pool(); this eliminates a potential livelock. Return ENOSPC only if we encountered an out-of-memory condition when trying to increase the pool size. Reviewed by: jhb, bde (style)
Diffstat (limited to 'sys/kern/sys_socket.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud