]> git.baikalelectronics.ru Git - kernel.git/commit
iavf: Change GFP_KERNEL to GFP_ATOMIC in kzalloc()
authorAleksandr Loktionov <aleksandr.loktionov@intel.com>
Tue, 14 May 2019 17:37:02 +0000 (10:37 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 17 Jun 2019 22:39:25 +0000 (15:39 -0700)
commitc499357b344a494ed4ef800cb76bc74f1765393b
treeaa5ae81e300cd3b01987411f4da706df45641b46
parent776bbfb0ab9b40eb93ac5e7d1f3f8530bdbc5397
iavf: Change GFP_KERNEL to GFP_ATOMIC in kzalloc()

iavf_add_vlan() is being called in atomic context
so kzalloc() needs GFP_ATOMIC. This patch fixes it.

Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/iavf/iavf_main.c