summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Silbersack <silby@FreeBSD.org>2003-02-26 07:28:35 +0000
committerMike Silbersack <silby@FreeBSD.org>2003-02-26 07:28:35 +0000
commita75a485d625341c61f75e4872b08ac6388f758ce (patch)
treec57d101ce239040357218936d4b8b756f70d37f2
parent303473e25248032b1b9cd27df82d0170e57522f9 (diff)
Notes
-rw-r--r--sys/netinet/ip_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index efe50c0e13cb..afac57cbd40e 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -1252,7 +1252,7 @@ ip_slowtimo()
* (due to the limit being lowered), drain off
* enough to get down to the new limit.
*/
- if (maxnipq > 0 && nipq > maxnipq) {
+ if (maxnipq >= 0 && nipq > maxnipq) {
for (i = 0; i < IPREASS_NHASH; i++) {
while (nipq > maxnipq && !TAILQ_EMPTY(&ipq[i])) {
ipstat.ips_fragdropped +=