summaryrefslogtreecommitdiff
path: root/net/rds
diff options
context:
space:
mode:
authorSelvin Xavier <selvin.xavier@emulex.com>2014-06-10 18:02:19 +0400
committerRoland Dreier <roland@purestorage.com>2014-08-02 02:07:36 +0400
commita96ffb1de9d656ce7083277a8badaa1082813498 (patch)
tree31cc1d01231d2c89e63675fc7f921fa963511cee /net/rds
parentdaac96815e969bd70ed5ad21231be2fc5d99506d (diff)
downloadlinux-a96ffb1de9d656ce7083277a8badaa1082813498.tar.xz
RDMA/ocrdma: Avoid reporting wrong completions in case of error CQEs
During cable pull test with a mount over NFS/RDMA, the driver was reporting error completions when there were no pending requests in the SQ and RQ. This was triggering a host crash because of reporting wrong work req id. Avoid this crash by adding a check for SQ and RQ empty condition and prevent reporting completions if queues are empty. Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com> Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions