summaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@intel.com>2016-05-12 10:23:03 -0700
committerDoug Ledford <dledford@redhat.com>2016-05-13 19:39:16 -0400
commitb96b040445f5d84fb8aa2ff986be71f5069c976e (patch)
tree675a4b2244db6d171feabd77569eb72d9fca7660 /lib/fault-inject.c
parent17f15bf66884b9e33c5005ee0149b039af8f7af2 (diff)
downloadlinux-stable-b96b040445f5d84fb8aa2ff986be71f5069c976e.tar.gz
linux-stable-b96b040445f5d84fb8aa2ff986be71f5069c976e.tar.bz2
linux-stable-b96b040445f5d84fb8aa2ff986be71f5069c976e.zip
IB/hfi1: Fix potential panic with sdma drained mechanism
The guard is backwards, potentially causing the SDMA client to panic if a wait structure was not specified. psm and verbs are not exposed to the issue, but fix the code just to be correct. Fixes: a545f5308b6c ("staging/rdma/hfi: fix CQ completion order issue") Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions