diff options
| author | Alexander Schmidt <[email protected]> | 2008-08-12 13:46:27 +0000 |
|---|---|---|
| committer | Roland Dreier <[email protected]> | 2008-08-12 18:34:59 +0000 |
| commit | 129a10fb81309f455eeb444560ec38657d29c46f (patch) | |
| tree | 544d44f33452e74b86a0869d5d5c64a503ba872b /fs/ubifs/commit.c | |
| parent | IB/ehca: Repoll CQ on invalid opcode (diff) | |
| download | kernel-129a10fb81309f455eeb444560ec38657d29c46f.tar.gz kernel-129a10fb81309f455eeb444560ec38657d29c46f.zip | |
IB/ehca: Check idr_find() return value
The idr_find() function may fail when trying to get the QP that is
associated with a CQE, e.g. when a QP has been destroyed between the
generation of a CQE and the poll request for it. In consequence, the
return value of idr_find() must be checked and the CQE must be
discarded when the QP cannot be found.
Signed-off-by: Alexander Schmidt <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions
