]> git.openfabrics.org - ~shefty/ibacm.git/commitdiff
refresh (create temporary patch)
authorSean Hefty <sean.hefty@intel.com>
Thu, 16 Dec 2010 01:32:26 +0000 (17:32 -0800)
committerSean Hefty <sean.hefty@intel.com>
Thu, 16 Dec 2010 01:32:26 +0000 (17:32 -0800)
meta
patches/refresh-temp [new file with mode: 0644]

diff --git a/meta b/meta
index 283043cda7c814013a6129952e5a967187d5ffda..a98981e4305f0b7054e1181b61419402545e6098 100644 (file)
--- a/meta
+++ b/meta
@@ -1,9 +1,10 @@
 Version: 1
-Previous: e104e3277e714e639a2d2b9688b430ff45dc68e5
-Head: 0d20222d86b5c31cf551f0bcb6c9dd45e4fe03cb
+Previous: 2041a33aa7f8a56a39109a12b115997bf35d85d3
+Head: 7e4e214a3d340320428f1e77351b94747f9c62d2
 Applied:
   lmc: 6f466455d64655ca852ff6942c44052592296c75
   xref-lid: 0d20222d86b5c31cf551f0bcb6c9dd45e4fe03cb
+  refresh-temp: 7e4e214a3d340320428f1e77351b94747f9c62d2
 Unapplied:
   ibacm-check-for-nodelay-on-pat: 1540687d721504ec1810aac7cc53ec7272415eb9
 Hidden:
diff --git a/patches/refresh-temp b/patches/refresh-temp
new file mode 100644 (file)
index 0000000..5f7a634
--- /dev/null
@@ -0,0 +1,23 @@
+Bottom: cd31696449dd581e6e1d2f2b57cf09b7d90bc0e1
+Top:    397103ddcac1a2185d9fc05647992788c404c7bc
+Author: Sean Hefty <sean.hefty@intel.com>
+Date:   2010-12-15 17:32:26 -0800
+
+Refresh of xref-lid
+
+---
+
+diff --git a/src/acm.c b/src/acm.c
+index 3dffef2..cbeba90 100644
+--- a/src/acm.c
++++ b/src/acm.c
+@@ -1717,8 +1717,7 @@ static int
+ acm_is_port_addr(struct acm_port *port, struct ibv_path_record *path)
+ {
+       if (path->slid) {
+-              return (port->lid == ntohs(path.slid) & port->lmc);
+-              new_ah->src_path_mask = (1 << port_attr.lmc) - 1
++              return (port->lid == (ntohs(path.slid) & ~((uint16_t) port->lid_mask)));
+       }
+ }