]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: fcoe: Fix I/O path allocation
authorMike Christie <michael.christie@oracle.com>
Fri, 7 Aug 2020 20:23:33 +0000 (15:23 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 18 Aug 2020 01:52:39 +0000 (21:52 -0400)
commitae9b46e2bbeebd9b9d1550da9d4d942a2f6b72d3
treea4f0356b9471f092e26049b96d864697436cbbdd
parent9c99fe562311afc2b08bdefaff9f6ab437c7936f
scsi: fcoe: Fix I/O path allocation

ixgbe_fcoe_ddp_setup() can be called from the main I/O path and is called
with a spin_lock held, so we have to use GFP_ATOMIC allocation instead of
GFP_KERNEL.

Link: https://lore.kernel.org/r/1596831813-9839-1-git-send-email-michael.christie@oracle.com
cc: Hannes Reinecke <hare@suse.de>
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c