diff options
author | Kalderon, Michal <Michal.Kalderon@cavium.com> | 2018-03-05 10:50:10 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-03-06 19:57:37 -0700 |
commit | e3fd112cbf21d049faf64ba1471d72b93c22109a (patch) | |
tree | ed94375da425fce885542808e4761442ebc70c10 /lib/test-string_helpers.c | |
parent | ea0ed47803df93d0904b838d6b5afceec3ad0ba4 (diff) |
RDMA/qedr: Fix kernel panic when running fio over NFSoRDMA
Race in qedr_poll_cq, lastest_cqe wasn't protected by lock,
leading to a case where two context's accessing poll_cq at
the same time lead to one of them having a pointer to an old
latest_cqe and reading an invalid cqe element
Signed-off-by: Amit Radzi <Amit.Radzi@cavium.com>
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions