[Bug 260406] pfctl: Cannot allocate memory (after a time)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 30 Mar 2022 20:00:12 UTC

--- Comment #77 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:


commit 7d1ab866911a2b29e041d64bc83a93638533f957
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-03-30 19:41:44 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-03-30 19:41:44 +0000

    pf: Initialize the table entry zone limit at initialization time

    The limit may later be updated by the "set limit" directive in pf.conf.
    UMA does not permit a limit to be set on a zone after any items have
    been allocated from a zone.

    Other UMA zones used by pf do not appear to be susceptible to this
    problem: they either set a limit at zone creation time or never set one
    at all.

    PR:             260406
    Reviewed by:    kp
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D34713

 sys/netpfil/pf/pf_table.c | 1 +
 1 file changed, 1 insertion(+)

You are receiving this mail because:
You are the assignee for the bug.