Now allow to define partition without members with only multicast group
definitions.
Default=0x7fff : ALL;
Default=0x7fff,ipoib:
mgid=ff12:401b::0719;
Signed-off-by: Tamir Ronen <[email protected]>
Signed-off-by: Alex Netes <[email protected]>
---
opensm/osm_prtn_config.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/opensm/osm_prtn_config.c b/opensm/osm_prtn_config.c
index 6798979..750cbe0 100644
--- a/opensm/osm_prtn_config.c
+++ b/opensm/osm_prtn_config.c
@@ -670,6 +670,7 @@ skip_header:
if (q)
*q++ = '\0';
ret = parse_name_token(p, &name, &flag);
+ len += ret;
if (strcmp(name, "mgid") == 0) {
/* parse an mgid line if specified. */
@@ -685,7 +686,6 @@ skip_header:
return -1;
}
p += ret;
- len += ret;
} while (q);
done:
--
1.7.11.2
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html