]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qed: Fix possible system hang in the dcbnl-getdcbx() path.
authorsudarsana.kalluru@cavium.com <sudarsana.kalluru@cavium.com>
Wed, 19 Apr 2017 10:19:54 +0000 (03:19 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 19 Sep 2017 05:31:51 +0000 (22:31 -0700)
commitdd0537f8e300ff26d2429bc6bebda6420bc9349f
tree8e2b5ecf23dcf9e77e419613f190080392946050
parent362a0d9777172c1f93e4e812fb6e314ccf4f9755
qed: Fix possible system hang in the dcbnl-getdcbx() path.

Orabug: 26783820

qed_dcbnl_get_dcbx() API uses kmalloc in GFT_KERNEL mode. The API gets
invoked in the interrupt context by qed_dcbnl_getdcbx callback. Need
to invoke this kmalloc in atomic mode.

Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[ Upstream commit 62289ba27558553871fd047baadaaeda886c6a63 ]
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_dcbx.c