commit | 62289ba27558553871fd047baadaaeda886c6a63 | [log] [tgz] |
---|---|---|
author | sudarsana.kalluru@cavium.com <sudarsana.kalluru@cavium.com> | Wed Apr 19 03:19:54 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 20 16:29:40 2017 -0400 |
tree | 80ae04f1b40f84e4c674ab26d4372cfa9330e77a | |
parent | 6cf75f1cebb048cfc1424b4b8ac9bbc08d5f9f66 [diff] |
qed: Fix possible system hang in the dcbnl-getdcbx() path. 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>