]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ipfw: do not use sleepable malloc in callout context.
authorAndrey V. Elsukov <ae@FreeBSD.org>
Fri, 16 Apr 2021 07:22:44 +0000 (10:22 +0300)
committerAndrey V. Elsukov <ae@FreeBSD.org>
Wed, 28 Apr 2021 10:05:03 +0000 (13:05 +0300)
commit29246f2cb0c5c5c06c73e99dc0d6c947f62c7dc4
treef8ae3cb6188a8c1c999195095a212b1fdc6c6e88
parenteabfffcb4c14751d1d2852ed82a1976b69854166
ipfw: do not use sleepable malloc in callout context.

Use M_NOWAIT flag when hash growing is called from callout.

PR:             255041
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D29772

(cherry picked from commit 9bacbf1ae243de43d642c3ac0b7318ae0e5c5235)
sys/netpfil/ipfw/ip_fw_dynamic.c