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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

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

--- Comment #29 from Kristof Provost <[hidden email]> ---
(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.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "[hidden email]"