vxlan: vnifilter: Use GFP_KERNEL instead of GFP_ATOMIC
authorIdo Schimmel <idosch@nvidia.com>
Mon, 21 Aug 2023 14:19:23 +0000 (17:19 +0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 22 Aug 2023 17:58:45 +0000 (10:58 -0700)
commit63c11dc2ca8bf5d8fb85a29db7d23ae083c919df
tree9691c9b0cfd2cd72b31d0a7c905cc1b4c4a06366
parenta491add19faf335faa75d6baa69adb0a9a588df2
vxlan: vnifilter: Use GFP_KERNEL instead of GFP_ATOMIC

The function is not called from an atomic context so use GFP_KERNEL
instead of GFP_ATOMIC. The allocation of the per-CPU stats is already
performed with GFP_KERNEL.

Tested using test_vxlan_vnifiltering.sh with CONFIG_DEBUG_ATOMIC_SLEEP.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://lore.kernel.org/r/20230821141923.1889776-1-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/vxlan/vxlan_vnifilter.c