cxgbe/iw_cxgbe: Abort connection if there is an error during c4iw_modify_qp.
Submitted by: KrishnamRaju ErapaRaju @ Chelsio MFC after: 3 days Sponsored by: Chelsio Communications
This commit is contained in:
parent
b5b023b91e
commit
1081f354af
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314814
@ -1427,6 +1427,7 @@ int c4iw_modify_qp(struct c4iw_dev *rhp, struct c4iw_qp *qhp,
|
||||
qhp->ep = NULL;
|
||||
set_state(qhp, C4IW_QP_STATE_ERROR);
|
||||
free = 1;
|
||||
abort = 1;
|
||||
BUG_ON(!ep);
|
||||
flush_qp(qhp);
|
||||
wake_up(&qhp->wait);
|
||||
|
Loading…
Reference in New Issue
Block a user