]> 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)
commitac817d988c013a71cdcba30d2ec4477fcd4a4831
treeaa5ae81e300cd3b01987411f4da706df45641b46
parent79760cd2ede37ff98a346bb686cb863734ecc0d0
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