diff options
author | Hariprasad S <[email protected]> | 2014-12-17 14:11:02 +0530 |
---|---|---|
committer | Roland Dreier <[email protected]> | 2015-02-13 11:13:16 -0800 |
commit | c62e68963106fb4d3f45e023e8ab21f1ad2d066e (patch) | |
tree | 6e3ffb6e5ec756232e3b1b6a931df356a3005e54 /scripts/kconfig/expr.c | |
parent | bfa76d49576599a4b9f9b7a71f23d73d6dcff735 (diff) |
RDMA/cxgb4: Serialize CQ event upcalls with CQ destruction
A race exists where the application can be destroying the CQ concurrently
with a HW interrupt indicating a completion has been inserted into the CQ.
This can cause an event notification upcall to the application after the
CQ has been destroyed.
The solution is to serialize looking up the CQ in the IDR table and
referencing the CQ in c4iw_ev_handler() with removing the CQID from the
IDR table and blocking until the refcnt reaches 0 in c4iw_destroy_cq().
Signed-off-by: Steve Wise <[email protected]>
Signed-off-by: Hariprasad Shenai <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'scripts/kconfig/expr.c')
0 files changed, 0 insertions, 0 deletions