[Intel-wired-lan] [next PATCH S5 iavf 04/11] iavf: Change GFP_KERNEL to GFP_ATOMIC in kzalloc()

Bowers, AndrewX andrewx.bowers at intel.com
Fri May 17 22:25:55 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Tuesday, May 14, 2019 10:37 AM
> To: Michael, Alice <alice.michael at intel.com>; intel-wired-
> lan at lists.osuosl.org
> Cc: Loktionov, Aleksandr <aleksandr.loktionov at intel.com>
> Subject: [Intel-wired-lan] [next PATCH S5 iavf 04/11] iavf: Change
> GFP_KERNEL to GFP_ATOMIC in kzalloc()
> 
> From: Aleksandr Loktionov <aleksandr.loktionov at intel.com>
> 
> 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 at intel.com>
> ---
>  drivers/net/ethernet/intel/iavf/iavf_main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list