Kristof Provost bf56a3fe47 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>
MFC after:	3 weeks
Differential Revision:	https://reviews.freebsd.org/D14367
2018-02-25 08:56:44 +00:00
..
2017-11-19 11:21:16 +00:00
2017-02-06 08:49:57 +00:00
2016-05-03 18:05:43 +00:00
2016-05-03 18:05:43 +00:00
2017-12-19 17:59:00 +00:00
2018-02-21 18:57:00 +00:00
2017-07-24 03:59:50 +00:00
2017-02-28 23:42:47 +00:00