[PATCH for 4.9 07/39] qed: Fix possible system hang in the dcbnl-getdcbx() path.

2017-09-17 Thread Levin, Alexander (Sasha Levin)
From: "sudarsana.kall...@cavium.com" [ Upstream commit 62289ba27558553871fd047baadaaeda886c6a63 ] 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

[PATCH for 4.9 07/39] qed: Fix possible system hang in the dcbnl-getdcbx() path.

2017-09-17 Thread Levin, Alexander (Sasha Levin)
From: "sudarsana.kall...@cavium.com" [ Upstream commit 62289ba27558553871fd047baadaaeda886c6a63 ] 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: