]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
new
authorSean Hefty <sean.hefty@intel.com>
Mon, 21 May 2012 05:41:38 +0000 (22:41 -0700)
committerSean Hefty <sean.hefty@intel.com>
Mon, 21 May 2012 05:41:38 +0000 (22:41 -0700)
meta
patches/destroy_cqs [new file with mode: 0644]

diff --git a/meta b/meta
index 7cb64c41d2d9746bbbf6876802b09acd8db19bd5..fee236c92cf55ab41d09bd27f107da3f4c634b11 100644 (file)
--- a/meta
+++ b/meta
@@ -1,7 +1,8 @@
 Version: 1
-Previous: 515e0a99ea36fab0ff6fa519fd96a489d9ec9e63
-Head: 90b96504395c3e9f4652f4b46d63be3dea3689fe
+Previous: 0d6958a48c655602cb2b4e6ef29834821395e8ef
+Head: 6efa52c79449bcac31414f6682f87f9a30f05bae
 Applied:
+  destroy_cqs: 6efa52c79449bcac31414f6682f87f9a30f05bae
 Unapplied:
   rs-qpsize: adee5db68a8f004ef5a94dc0cad94b74bf685088
   rs-opts: 7c8fbc95903cf8f61422d7f2c58f83ba4f0b8ac4
diff --git a/patches/destroy_cqs b/patches/destroy_cqs
new file mode 100644 (file)
index 0000000..ce7d0b2
--- /dev/null
@@ -0,0 +1,21 @@
+Bottom: 6bbc2f526b97dfafc16e7ec34dc8e4e1ce587f40
+Top:    6bbc2f526b97dfafc16e7ec34dc8e4e1ce587f40
+Author: Sean Hefty <sean.hefty@intel.com>
+Date:   2012-05-20 22:41:38 -0700
+
+librdmacm: Check that send and recv CQs are different before destroying
+
+ucma_destroy_cqs() destroys both the send and recv CQs if they
+are non-null.  If the two CQs are actually the same one, this
+results in a crash when trying to destroy the second CQ.  Check
+that the CQs are different before destroying the second CQ.
+
+This fixes a crash when using rsockets, which sets the send and
+recv CQs to the same CQ.
+
+Signed-off-by: Sean Hefty <sean.hefty@intel.com>
+
+
+---
+
+