]> git.openfabrics.org - ~shefty/ibacm.git/commitdiff
refresh (create temporary patch)
authorSean Hefty <sean.hefty@intel.com>
Wed, 9 Apr 2014 19:13:01 +0000 (12:13 -0700)
committerSean Hefty <sean.hefty@intel.com>
Wed, 9 Apr 2014 19:13:01 +0000 (12:13 -0700)
meta
patches/refresh-temp [new file with mode: 0644]

diff --git a/meta b/meta
index f848560c100de44d9d4e51df168e94189cbdabfc..32f0cfd5fbb18220928f452894b53c6b91262e27 100644 (file)
--- a/meta
+++ b/meta
@@ -1,8 +1,9 @@
 Version: 1
-Previous: 0ff69cb603549619d2045ff641b15651a979cd92
-Head: ec036ab770b4564aa12c1ab64b2779ad24a07641
+Previous: 37aafff2588a7fa2eab87093c7ba127284a84e03
+Head: 27c6cdac06e4d5926d6bcecb25b9e80111510487
 Applied:
   join-err: ec036ab770b4564aa12c1ab64b2779ad24a07641
+  refresh-temp: 27c6cdac06e4d5926d6bcecb25b9e80111510487
 Unapplied:
   suse: 7076e2a00570a3cda4e4ce034419399a23ebfb0a
   dev-name2ip: 8e00708e882239292492e13aa51c82042255933c
diff --git a/patches/refresh-temp b/patches/refresh-temp
new file mode 100644 (file)
index 0000000..234a8b1
--- /dev/null
@@ -0,0 +1,42 @@
+Bottom: 928412a7b8def95fbb0369bd768cf27c86985da4
+Top:    c5d7235efb71e1d2c98f3c7f2a12466a9eb7fbac
+Author: Sean Hefty <sean.hefty@intel.com>
+Date:   2014-04-09 12:13:01 -0700
+
+Refresh of join-err
+
+---
+
+diff --git a/src/acm.c b/src/acm.c
+index 851a258..2134ddc 100644
+--- a/src/acm.c
++++ b/src/acm.c
+@@ -783,12 +783,12 @@ static void acm_process_join_resp(struct acm_ep *ep, struct ib_user_mad *umad)
+               dest->ah = ibv_create_ah(ep->port->dev->pd, &dest->av);
+               if (!dest->ah) {
+                       acm_log(0, "ERROR - unable to create ah\n");
+-                      goto err1;
++                      goto err2;
+               }
+               ret = ibv_attach_mcast(ep->qp, &mc_rec->mgid, mc_rec->mlid);
+               if (ret) {
+                       acm_log(0, "ERROR - unable to attach QP to multicast group\n");
+-                      goto err2;
++                      goto err3;
+               }
+       }
+@@ -797,11 +797,12 @@ static void acm_process_join_resp(struct acm_ep *ep, struct ib_user_mad *umad)
+       acm_log(1, "join successful\n");
+       lock_release(&ep->lock);
+       return;
+-err2:
++err3:
+       ibv_destroy_ah(dest->ah);
+       dest->ah = NULL;
+-err1:
++err2:
+       dest->state = ACM_INIT;
++err1:
+       lock_release(&ep->lock);
+ }