Date: Tue, 19 Apr 2011 11:29:09 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet/ipfw ip_dummynet.c Message-ID: <201104191129.p3JBTNm4075466@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ae 2011-04-19 11:29:09 UTC
FreeBSD src repository
Modified files:
sys/netinet/ipfw ip_dummynet.c
Log:
SVN rev 220831 on 2011-04-19 11:29:09Z by ae
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
Revision Changes Path
1.39 +5 -1 src/sys/netinet/ipfw/ip_dummynet.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104191129.p3JBTNm4075466>
