diff options
author | markj <markj@FreeBSD.org> | 2015-07-07 19:29:18 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2015-07-07 19:29:18 +0000 |
commit | cc6e499b77d01a10e05b720aa8eb7ad66bf40d02 (patch) | |
tree | 95580de8f3428bf8eebf29820a2bbd512e72901c /etc/inetd.conf | |
parent | c6668379e1702590b9e9cebac70159822eaa5bb3 (diff) | |
download | FreeBSD-src-cc6e499b77d01a10e05b720aa8eb7ad66bf40d02.zip FreeBSD-src-cc6e499b77d01a10e05b720aa8eb7ad66bf40d02.tar.gz |
Fix an incorrect assertion in witness.
The number of available lock list entries for a thread is LOCK_CHILDCOUNT,
and each entry can record up to LOCK_NCHILDREN locks. When iterating over
the locks held by a thread, a bound on the loop index is therefore given
by LOCK_CHILDCOUNT * LOCK_NCHILDREN; WITNESS_COUNT is an unrelated
constant.
Reviewed by: jhb
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D2974
Diffstat (limited to 'etc/inetd.conf')
0 files changed, 0 insertions, 0 deletions