diff options
author | jhb <jhb@FreeBSD.org> | 2010-08-17 16:41:16 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2010-08-17 16:41:16 +0000 |
commit | d8e2e27165e72af01c626085249abf380be4ca9c (patch) | |
tree | ac22d40e259520b3863696d63c529cccfd9def23 /sys/cam | |
parent | 1e41807d30ffb0a80c716044faf833b4e7f229d8 (diff) | |
download | FreeBSD-src-d8e2e27165e72af01c626085249abf380be4ca9c.zip FreeBSD-src-d8e2e27165e72af01c626085249abf380be4ca9c.tar.gz |
Ensure a minimum "slop" of 10 extra pcb structures when providing a
memory size estimate to userland for pcb list sysctls. The previous
behavior of a "slop" of n/8 does not work well for small values of n
(e.g. no slop at all if you have less than 8 open UDP connections).
Reviewed by: bz
MFC after: 1 week
Diffstat (limited to 'sys/cam')
0 files changed, 0 insertions, 0 deletions