freebsd-src/sys/netpfil
Kristof Provost ab00b209e8 MFC r314810:
pf: Fix a crash in low-memory situations

If the call to pf_state_key_clone() in pf_get_translation() fails (i.e. there's
no more memory for it) it frees skp. This is wrong, because skp is a
pf_state_key **, so we need to free *skp, as is done later in the function.
Getting it wrong means we try to free a stack variable of the calling
pf_test_rule() function, and we panic.
2017-03-09 03:20:20 +00:00
..
ipfw MFC r283291: don't use CALLOUT_MPSAFE with callout_init() 2017-03-04 13:03:31 +00:00
pf MFC r314810: 2017-03-09 03:20:20 +00:00