components/open-fabrics/libsif/patches/003-Bug23188922.patch
branchs11u3-sru
changeset 6479 5730eca693a9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/open-fabrics/libsif/patches/003-Bug23188922.patch	Tue Jul 26 11:56:10 2016 -0700
@@ -0,0 +1,15 @@
+# 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 6299a4e4e707 src/verbs.c
+--- a/src/verbs.c	Wed Jul 20 03:05:26 2016 -0700
++++ b/src/verbs.c	Wed Jul 20 04:48:17 2016 -0700
+@@ -665,6 +665,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;
+ }
+