]> git.baikalelectronics.ru Git - 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)
commitbfd71825052f01a6d7ae87220061387caea15c82
tree9946b7541b2816b3c72ec19462ba0d2918e7cd0d
parent9167fa982b0890abf42b897cd5b574c964c235b4
qed: Fix allocation in interrupt context

Commit ba2fe0269be3 ("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