Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2017 01:13:26 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r314814 - head/sys/dev/cxgbe/iw_cxgbe
Message-ID:  <201703070113.v271DQ3R063878@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703070113.v271DQ3R063878>