Author: np
Date: Tue Mar 7 01:13:26 2017
New Revision: 314814
URL: https://svnweb.freebsd.org/changeset/base/314814
Log:
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
Modified:
head/sys/dev/cxgbe/iw_cxgbe/qp.c
Modified: head/sys/dev/cxgbe/iw_cxgbe/qp.c
==============================================================================
--- head/sys/dev/cxgbe/iw_cxgbe/qp.c Tue Mar 7 00:20:01 2017
(r314813)
+++ head/sys/dev/cxgbe/iw_cxgbe/qp.c Tue Mar 7 01:13:26 2017
(r314814)
@@ -1427,6 +1427,7 @@ err:
qhp->ep = NULL;
set_state(qhp, C4IW_QP_STATE_ERROR);
free = 1;
+ abort = 1;
BUG_ON(!ep);
flush_qp(qhp);
wake_up(&qhp->wait);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"