mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-18 04:32:54 -05:00
- Fix comment in lruhash space function.
This commit is contained in:
parent
3ea078baf6
commit
fe393ac355
2 changed files with 2 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
|||
- Fix #1032: The size of subnet_msg_cache calculation mistake cause
|
||||
memory usage increased beyond expectations.
|
||||
- Fix for #1032, add safeguard to make table space positive.
|
||||
- Fix comment in lruhash space function.
|
||||
|
||||
25 March 2024: Yorgos
|
||||
- Merge #831 from Pierre4012: Improve Windows NSIS installer
|
||||
|
|
|
|||
|
|
@ -540,7 +540,7 @@ lruhash_update_space_used(struct lruhash* table, void* cb_arg, int diff_size)
|
|||
|
||||
if(cb_arg == NULL) cb_arg = table->cb_arg;
|
||||
|
||||
/* find bin */
|
||||
/* update space used */
|
||||
lock_quick_lock(&table->lock);
|
||||
|
||||
if((int)table->space_used + diff_size < 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue