i40evf: use GFP_ATOMIC under spin lock
authorWei Yongjun <weiyongjun1@huawei.com>
Fri, 12 Jan 2018 02:27:13 +0000 (02:27 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 13 Feb 2018 19:40:10 +0000 (11:40 -0800)
commit03f431b33a6486680ff4e43b059176720bb41972
tree0f945bca2ae9e1d7f0a15d58aac2a8807aa7cf72
parent3758d2c74d67be946b623f3736118e5f59c0d504
i40evf: use GFP_ATOMIC under spin lock

A spin lock is taken here so we should use GFP_ATOMIC.

Fixes: 504398f0a78e ("i40evf: use spinlock to protect (mac|vlan)_filter_list")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c