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

2018-02-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209475 --- Comment #29 from Kristof Provost --- (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

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

2018-02-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209475 fehmi noyan isi changed: What|Removed |Added Attachment #190429|0 |1

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

2018-02-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209475 --- Comment #30 from fehmi noyan isi --- (In reply to Kristof Provost from comment #29) Calling free(9) before reallocating the memory was a no brainer. Thanks! Below is the diff https://reviews.freebsd.org/D14367