HomeFreeBSD

ipdn_bound_var() functions is designed to bound a variable between

Description

ipdn_bound_var() functions is designed to bound a variable between
specified minimum and maximum. In case when specified default value
is out of bounds it does not work as expected and does not limit
variable. Check that default value is in range and limit it if needed.
Also bump max_hash_size value to 65536 to correspond with manual page.

PR: kern/152887
MFC after: 2 weeks

Details

Provenance
aeAuthored on Apr 19 2011, 11:29 AM
Parents
rG7bcc59573858: Fix some English grammar.
Branches
Unknown
Tags
Unknown

Event Timeline