mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Must be a bit less aggressive about freeing pagedep structures.
Obtained from: Robert Watson <rwatson@FreeBSD.org> and Matthew Jacob <mjacob@feral.com>
This commit is contained in:
parent
a9d09e93db
commit
9f5192ff71
1 changed files with 1 additions and 1 deletions
|
|
@ -2029,7 +2029,7 @@ free_newdirblk(newdirblk)
|
|||
for (i = 0; i < DAHASHSZ; i++)
|
||||
if (LIST_FIRST(&pagedep->pd_diraddhd[i]) != NULL)
|
||||
break;
|
||||
if (i == DAHASHSZ) {
|
||||
if (i == DAHASHSZ && (pagedep->pd_state & ONWORKLIST) == 0) {
|
||||
LIST_REMOVE(pagedep, pd_hash);
|
||||
WORKITEM_FREE(pagedep, D_PAGEDEP);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue