RDMA/cxgb4: Keep QP referenced until TID released
authorVipul Pandya <vipul@chelsio.com>
Mon, 7 Jan 2013 13:11:53 +0000 (13:11 +0000)
committerRoland Dreier <roland@purestorage.com>
Thu, 14 Feb 2013 23:51:56 +0000 (15:51 -0800)
The driver is currently releasing the last ref on the QP too early.
This can cause bus errors due to HW still fetching WRs from the HW
queue.  The fix is to keep a qp ref until we release the HW TID.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>

No differences found