svn commit: r273480 - head/sys/dev/cxgbe/iw_cxgbe
Navdeep Parhar
np at FreeBSD.org
Wed Oct 22 18:55:45 UTC 2014
Author: np
Date: Wed Oct 22 18:55:44 2014
New Revision: 273480
URL: https://svnweb.freebsd.org/changeset/base/273480
Log:
cxgbe/iw_cxgbe: wake up waiters after flushing the qp.
Obtained from: Chelsio
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 Wed Oct 22 18:55:36 2014 (r273479)
+++ head/sys/dev/cxgbe/iw_cxgbe/qp.c Wed Oct 22 18:55:44 2014 (r273480)
@@ -1359,9 +1359,9 @@ err:
qhp->ep = NULL;
set_state(qhp, C4IW_QP_STATE_ERROR);
free = 1;
- wake_up(&qhp->wait);
BUG_ON(!ep);
flush_qp(qhp);
+ wake_up(&qhp->wait);
out:
mutex_unlock(&qhp->mutex);
More information about the svn-src-all
mailing list