]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: Use GFP_ATOMIC under spin lock
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 25 Oct 2018 01:42:26 +0000 (01:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Oct 2018 18:36:29 +0000 (11:36 -0700)
commit33e558d6d855dbf33cf57c93405f575c573f2f2a
tree34309cbeb0f438f951c1a9416fcc5190adb6dcc9
parent9f7d61e74f9c7ce1aa757021ce80448ef32133af
octeontx2-af: Use GFP_ATOMIC under spin lock

The function nix_update_mce_list() is called from
nix_update_bcast_mce_list(), and a spin lock is held
here, so we should use GFP_ATOMIC instead.

Fixes: 2a164b3f3bc6 ("octeontx2-af: Update bcast list upon NIXLF alloc/free")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c