]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
qed: Fix allocation in interrupt context
authorSudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com>
Thu, 26 May 2016 08:01:20 +0000 (11:01 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 May 2016 19:27:32 +0000 (12:27 -0700)
commit795292916cf9d8c47c53b692bcb36b02953101cf
tree9946b7541b2816b3c72ec19462ba0d2918e7cd0d
parent6ecb0a0c0d9539fac1497d1d218e60a393a1070c
qed: Fix allocation in interrupt context

Commit 39651abd2814 ("qed: add support for dcbx") is re-configuring
the QM hw-block as part of its sequence. This is done in attention
handling context which is non-sleepable, yet memory is allocated in
this flow using GFP_KERNEL.

Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_dev.c