qede: Fix gfp flags sent to rdma event node allocation
authorMichal Kalderon <Michal.Kalderon@cavium.com>
Tue, 8 May 2018 18:29:19 +0000 (21:29 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 May 2018 19:22:35 +0000 (15:22 -0400)
commit090477e4acb31c5dd674940c7c01d4f16bd1ac41
tree76033271b71e8b4bf41be37a4238dd9269b9553d
parentaf6858ee423a309d93054c361c61099b8eb12bbf
qede: Fix gfp flags sent to rdma event node allocation

A previous commit 4609adc27175 ("qede: Fix qedr link update")
added a flow that could allocate rdma event objects from an
interrupt path (link notification). Therefore the kzalloc call
should be done with GFP_ATOMIC.

fixes: 4609adc27175 ("qede: Fix qedr link update")
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Sudarsana Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qede/qede_rdma.c