summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/ip_input.c')
-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 efe50c0..afac57c 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 +=
OpenPOWER on IntegriCloud