]> git.openfabrics.org - ~shefty/ibacm.git/commitdiff
refresh (create temporary patch)
authorSean Hefty <sean.hefty@intel.com>
Thu, 10 Feb 2011 20:09:10 +0000 (12:09 -0800)
committerSean Hefty <sean.hefty@intel.com>
Thu, 10 Feb 2011 20:09:10 +0000 (12:09 -0800)
meta
patches/refresh-temp [new file with mode: 0644]

diff --git a/meta b/meta
index 937ebc3e0eda4e523b2f335ce1aaf633f318f182..75fa049d3ec736c8dc4806d9c4bc0292577a859f 100644 (file)
--- a/meta
+++ b/meta
@@ -1,11 +1,12 @@
 Version: 1
-Previous: 153a8aad2a34fb4466c9fe2655d72b6fbf759018
-Head: 40cb282beea5b32338c8bee9c609a780bd1393d5
+Previous: 16fba406f95c33f94967be0e18a7ff74eb4de8e7
+Head: ba0ac2afbe6301dabef10b1d3eec7d853bf8cd65
 Applied:
   addr_open: 1fd2bfd86e2e2fe78f9d5d6d39aa5502938923f0
   open_dev: 4687a6571146acd8d9a1553a96e2e4f7e8318761
   ep_active: 77fc3b61749ca5785e28bf487a5df84189466ecb
   sm_lid: 40cb282beea5b32338c8bee9c609a780bd1393d5
+  refresh-temp: ba0ac2afbe6301dabef10b1d3eec7d853bf8cd65
 Unapplied:
   autoaddr: 36281f18de15f2482e21ae1304f2e34e9ecf187d
   async_mc: c51c6e84981821b2541daba97cee9a29cd1d3709
diff --git a/patches/refresh-temp b/patches/refresh-temp
new file mode 100644 (file)
index 0000000..367b083
--- /dev/null
@@ -0,0 +1,22 @@
+Bottom: 74c254a77501b64753142f1e530134e5ffa86d53
+Top:    d539114b2e637e2c9ec4181ab8625e3435664ed5
+Author: Sean Hefty <sean.hefty@intel.com>
+Date:   2011-02-10 12:09:09 -0800
+
+Refresh of sm_lid
+
+---
+
+diff --git a/src/acm.c b/src/acm.c
+index 10680f8..ccad45d 100644
+--- a/src/acm.c
++++ b/src/acm.c
+@@ -2638,7 +2638,7 @@ static void acm_port_up(struct acm_port *port)
+       port->lid_mask = 0xffff - ((1 << attr.lmc) - 1);
+       acm_set_dest_addr(&port->sa_dest, ACM_ADDRESS_LID,
+-              (uint8_t *) &attr.sm_lid, sizeof(attr.sm_lid));
++              (uint16_t *) &attr.sm_lid, sizeof(attr.sm_lid));
+       port->sa_dest.av.src_path_bits = 0;
+       port->sa_dest.av.dlid = attr.sm_lid;
+       port->sa_dest.av.sl = attr.sm_sl;