components/open-fabrics/libsif/patches/003-Bug23188922.patch
changeset 6372 8dc598b3e3c3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/open-fabrics/libsif/patches/003-Bug23188922.patch	Fri Jul 08 02:58:33 2016 -0700
@@ -0,0 +1,14 @@
+# This patch is fix for the Bug-23188922
+# It is developed By solaris PSIF team. We plan to have a common upstream repo
+# and submit these changes to it, but do not yet have a target date of doing it.
+diff -r 1dc0d37edf06 src/verbs.c
+--- a/src/verbs.c	Mon Jun 27 14:10:53 2016 +0530
++++ b/src/verbs.c	Mon Jun 27 15:34:44 2016 +0530
+@@ -550,6 +550,8 @@
+         qp->remote_qp = attr->dest_qp_num;
+     if (attr_mask & IBV_QP_AV)
+         qp->remote_lid = attr->ah_attr.dlid;
++    if ((attr_mask & IBV_QP_STATE) && (attr->qp_state == IBV_QPS_RTR) && qp->sq.sw)
++        qp->tsl = qp->sq.sw->tsl;
+     return 0;
+ }