diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2015-04-09 08:56:23 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2015-04-09 08:56:23 +0000 |
commit | 1c0b48c79a6fd444009ea0772a2f2e5f0c8a667e (patch) | |
tree | de353b6eac9d0e064d9220d629c91456f2521842 /sys/netinet/ip_input.c | |
parent | 55c28800ad4118cc28cabd4ae90c1553f6198921 (diff) | |
download | src-test2-1c0b48c79a6fd444009ea0772a2f2e5f0c8a667e.tar.gz src-test2-1c0b48c79a6fd444009ea0772a2f2e5f0c8a667e.zip |
Notes
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r-- | sys/netinet/ip_input.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 21fec1a767d5..71db168f0e6e 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -826,12 +826,12 @@ maxnipq_update(void) if (V_maxnipq > 0) uma_zone_set_max(V_ipq_zone, V_maxnipq); /* - * Zero specifies no further fragment queue allocation -- set the - * bound very low, but rely on implementation elsewhere to actually - * prevent allocation and reclaim current queues. + * Zero specifies no further fragment queue allocation. */ - if (V_maxnipq == 0) + if (V_maxnipq == 0) { uma_zone_set_max(V_ipq_zone, 1); + ip_drain_vnet(); + } } static void |