diff options
author | Yi Zou <yi.zou@intel.com> | 2010-07-19 16:00:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-20 05:23:37 +0200 |
commit | 5575044661cfccd8b2f6e244031ef54499aa1dbb (patch) | |
tree | 84e1e0bd2880208f5f0e259668cbe216d2d0858b /drivers/net/ixgbe/ixgbe_fcoe.c | |
parent | ixgbe: properly toggling netdev feature flags when disabling FCoE (diff) | |
download | linux-5575044661cfccd8b2f6e244031ef54499aa1dbb.tar.xz linux-5575044661cfccd8b2f6e244031ef54499aa1dbb.zip |
ixgbe: use GFP_ATOMIC when allocating FCoE DDP context from the dma pool
The FCoE protocol stack may hold a lock when this gets called.
Signed-off-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_fcoe.c')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_fcoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_fcoe.c b/drivers/net/ixgbe/ixgbe_fcoe.c index 1737d2bddc19..072327c5e41a 100644 --- a/drivers/net/ixgbe/ixgbe_fcoe.c +++ b/drivers/net/ixgbe/ixgbe_fcoe.c @@ -190,7 +190,7 @@ int ixgbe_fcoe_ddp_get(struct net_device *netdev, u16 xid, } /* alloc the udl from our ddp pool */ - ddp->udl = pci_pool_alloc(fcoe->pool, GFP_KERNEL, &ddp->udp); + ddp->udl = pci_pool_alloc(fcoe->pool, GFP_ATOMIC, &ddp->udp); if (!ddp->udl) { e_err(drv, "failed allocated ddp context\n"); goto out_noddp_unmap; |