freebsd-src/sys/netpfil
Kristof Provost 67bccbc52f MFC r329950:
pf: Cope with overly large net.pf.states_hashsize

If the user configures a states_hashsize or source_nodes_hashsize value we may
not have enough memory to allocate this. This used to lock up pf, because these
allocations used M_WAITOK.

Cope with this by attempting the allocation with M_NOWAIT and falling back to
the default sizes (with M_WAITOK) if these fail.

PR:		209475
Submitted by:	Fehmi Noyan Isi <fnoyanisi AT yahoo.com>
2018-03-18 11:26:07 +00:00
..
ipfw MFC r325008 2017-11-12 01:28:20 +00:00
pf MFC r329950: 2018-03-18 11:26:07 +00:00