[Bug 209475] pf didn't check if enough free RAM for net.pf.states_hashsize

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 13 12:04:01 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209475

--- Comment #29 from Kristof Provost <kp at freebsd.org> ---
(In reply to fehmi noyan isi from comment #28)
It's possible that one of the V_pf_keyhash or V_pf_idhash allocations
succeeded, but not the other. That means you may have to free one of them.

(Note that free(NULL, M_PFHASH) is safe.)

It may be easier to discuss the patch if you post it on
http://reviews.freebsd.org.

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


More information about the freebsd-pf mailing list